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

3 lines
71 B
Plaintext

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