mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 19:22:01 +03:00
19 lines
282 B
Plaintext
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);
|
|
} |