leo/asg/tests/pass/statements/ternary_basic.leo

5 lines
86 B
Plaintext

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