1
1
mirror of https://github.com/AleoHQ/leo.git synced 2024-12-29 04:21:42 +03:00
leo/tests/compiler/function/return.leo

14 lines
181 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;
}