mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-21 01:01:52 +03:00
12 lines
169 B
Plaintext
12 lines
169 B
Plaintext
function main(a: bool, b: bool, c: u32) {
|
|
let d = 0u32;
|
|
|
|
if a {
|
|
d += 1;
|
|
if b {
|
|
d += 2;
|
|
}
|
|
}
|
|
|
|
console.assert(d == c);
|
|
} |