edlang/lib/edlang_driver/tests/programs/while_if_false.ed
2024-04-13 10:38:25 +02:00

13 lines
168 B
Rust

fn main() -> i32 {
let mut result: i32 = 7;
while false {
if false {
return 0;
}
result = 14;
}
return result;
}