leo/compiler/tests/statements/ternary_basic.leo
2020-08-16 17:20:47 -07:00

5 lines
91 B
Plaintext

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