leo/compiler/tests/integers/i16/ternary.leo
2020-07-15 21:55:45 -07:00

3 lines
71 B
Plaintext

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