mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 10:32:13 +03:00
16 lines
218 B
Plaintext
16 lines
218 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: inputs/dummy.in
|
|
*/
|
|
|
|
function one() -> bool {
|
|
return true;
|
|
}
|
|
|
|
function main(y: bool) -> bool {
|
|
const a: bool = one() && one();
|
|
|
|
return (a == true) == y;
|
|
}
|