1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-21 09:11:39 +03:00
leo/compiler/tests/statements/iteration_basic.leo
2020-07-30 17:11:58 -07:00

8 lines
109 B
Plaintext

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