1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2025-01-05 09:16:21 +03:00
leo/asg/tests/pass/statements/ternary_basic.leo
2021-01-25 07:19:38 -08:00

5 lines
91 B
Plaintext

function main(a: bool, b: bool) {
let c = if a ? true : false;
const d = c == b;
}