leo/tests/compiler/function/return.leo
2022-04-27 12:04:45 -07:00

14 lines
183 B
Plaintext

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