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

19 lines
282 B
Plaintext

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