leo/tests/compiler/function/repeated.leo
2021-07-01 13:40:29 -07:00

16 lines
211 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: input/dummy.in
*/
function one() -> bool {
return true;
}
function main(y: bool) -> bool {
const a = one() && one();
return (a == true) == y;
}