leo/compiler/tests/integers/u16/ternary.leo
2020-06-07 21:26:49 -07:00

3 lines
71 B
Plaintext

function main(b: bool, x: u16, y: u16) -> u16 {
return if b ? x : y
}