leo/compiler/tests/statements/iteration_basic.leo
2020-08-16 17:20:47 -07:00

8 lines
115 B
Plaintext

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