leo/tests/compiler/integers/i16/ge.leo
2021-05-03 17:28:53 +03:00

19 lines
283 B
Plaintext

/*
namespace: Compile
expectation: Pass
inputs:
- i16.in: |
[main]
a: i16 = 4;
b: i16 = 4;
c: bool = true;
- i16_false: |
[main]
a: i16 = 3;
b: i16 = 6;
c: bool = false;
*/
function main(a: i16, b: i16, c: bool) {
console.assert(a >= b == c);
}