mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 03:04:13 +03:00
19 lines
272 B
Plaintext
19 lines
272 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
inputs:
|
|
- cond.in: |
|
|
[main]
|
|
a: bool = true;
|
|
- cond_2.in: |
|
|
[main]
|
|
a: bool = false;
|
|
*/
|
|
|
|
function main(a: bool) {
|
|
if a {
|
|
console.assert(a == true);
|
|
} else {
|
|
console.assert(a == false);
|
|
}
|
|
} |