mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 04:01:47 +03:00
20 lines
247 B
Plaintext
20 lines
247 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
function one() -> u32 {
|
|
return 1u32;
|
|
}
|
|
|
|
function main(y: bool) -> bool {
|
|
let a = 0u32;
|
|
|
|
for i in 0..10 {
|
|
a += one();
|
|
}
|
|
|
|
return (a == 10u32) == y;
|
|
}
|