mirror of
https://github.com/AleoHQ/leo.git
synced 2025-01-08 11:08:41 +03:00
12 lines
126 B
Plaintext
12 lines
126 B
Plaintext
function main(cond: bool) -> u32 {
|
|
let mut a = 0u32;
|
|
|
|
if cond {
|
|
for i in 0..4 {
|
|
a += i;
|
|
}
|
|
}
|
|
|
|
return a
|
|
}
|