leo/tests/compiler/function/repeated.leo

16 lines
218 B
Plaintext

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