edlang/lib/edlang_driver/tests/programs/while_if_false.ed

13 lines
168 B
Rust
Raw Normal View History

2024-04-13 08:38:25 +00:00
fn main() -> i32 {
let mut result: i32 = 7;
while false {
if false {
return 0;
}
result = 14;
}
return result;
}