leo/compiler/tests/statements/iteration_basic.leo
2020-06-07 20:24:27 -07:00

8 lines
92 B
Plaintext

function main() -> u32 {
let mut x = 4u32;
for i in 0..3 {
x -= 1;
}
return x
}