leo/tests/compiler/integers/i16/ge.leo

19 lines
283 B
Plaintext
Raw Normal View History

2021-05-03 17:28:53 +03:00
/*
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;
*/
2020-07-31 02:20:31 +03:00
function main(a: i16, b: i16, c: bool) {
2020-08-17 05:14:26 +03:00
console.assert(a >= b == c);
2020-07-16 07:55:45 +03:00
}