mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 04:01:47 +03:00
17 lines
249 B
Plaintext
17 lines
249 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file:
|
|
- inputs/true.in
|
|
- inputs/false.in
|
|
*/
|
|
|
|
function main(a: bool) -> bool {
|
|
if a {
|
|
console.assert(a == true);
|
|
} else {
|
|
console.assert(a == false);
|
|
}
|
|
|
|
return a;
|
|
} |