mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 11:45:00 +03:00
14 lines
177 B
Plaintext
14 lines
177 B
Plaintext
function main(a: bool) {
|
|
let b = 0u32;
|
|
|
|
if a {
|
|
for i in 0..4 {
|
|
b += i;
|
|
}
|
|
}
|
|
|
|
const r: u32 = a ? 6 : 0;
|
|
|
|
console.assert(r == b);
|
|
}
|