leo/tests/compiler/function/repeated.leo

16 lines
209 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;
}