16 lines
262 B
Plaintext
16 lines
262 B
Plaintext
unit scopes;
|
|
|
|
fn register(switch: i32) -> i32 {
|
|
let auto: i32 = switch;
|
|
if true {
|
|
let auto: i32 = auto + 1;
|
|
if auto == 2 { return 0; }
|
|
}
|
|
if auto == 1 { return 0; }
|
|
return 1;
|
|
}
|
|
|
|
pub fn main() -> i32 {
|
|
return register(1);
|
|
}
|