mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-30 05:02:04 +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);
|
|
}
|
|
} |