mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
13 lines
159 B
Plaintext
13 lines
159 B
Plaintext
function one() -> u32 {
|
|
return 1u32
|
|
}
|
|
|
|
function main() {
|
|
let mut a = 0u32;
|
|
|
|
for i in 0..10 {
|
|
a += one();
|
|
}
|
|
|
|
assert_eq!(a, 10u32);
|
|
} |