1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-30 13:45:13 +03:00
leo/asg/tests/pass/integers/i64/ternary.leo

5 lines
104 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
function main(s: bool, a: i64, b: i64, c: i64) {
const r = s ? a : b;
2021-01-25 18:17:42 +03:00
console.assert(r == c);
}