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;
}