mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 19:22:01 +03:00
19 lines
283 B
Plaintext
19 lines
283 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
inputs:
|
|
- i16.in: |
|
|
[main]
|
|
a: i16 = 3;
|
|
b: i16 = 3;
|
|
c: bool = true;
|
|
- i16_false: |
|
|
[main]
|
|
a: i16 = 4;
|
|
b: i16 = 3;
|
|
c: bool = false;
|
|
*/
|
|
|
|
function main(a: i16, b: i16, c: bool) {
|
|
console.assert(a <= b == c);
|
|
} |