leo/asg/tests/pass/function/repeated.leo

9 lines
123 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
function one() -> bool {
return true
}
function main() {
let a = one() && one();
console.assert(a == true);
}