leo/compiler/tests/function/repeated.leo

9 lines
123 B
Plaintext
Raw Normal View History

2020-07-17 06:47:47 +03:00
function one() -> bool {
2020-07-17 22:59:18 +03:00
return true
}
2020-07-30 22:10:33 +03:00
function main() {
let a = one() && one();
2020-08-17 05:14:26 +03:00
console.assert(a == true);
}