mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 23:52:02 +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;
|
|
} |