leo/tests/compiler/scalar/cmp.leo

14 lines
240 B
Plaintext
Raw Normal View History

2022-05-15 06:27:08 +03:00
/*
namespace: Compile
expectation: Pass
input_file:
- inputs/scalars.in
*/
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;
2022-05-15 06:27:08 +03:00
}