leo/tests/compiler/scalar/cmp.leo
2022-08-04 20:00:40 -07:00

15 lines
249 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/scalars.in
*/
@program
function main(a: scalar, b: scalar) -> bool {
let c: bool = a > b;
let d: bool = a < b;
let e: bool = a >= b;
let f: bool = a <= b;
return f;
}