mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-27 12:17:35 +03:00
10 lines
158 B
Plaintext
10 lines
158 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: inputs/ternary_explicit_and_implicit.in
|
|
*/
|
|
|
|
function main(x: u8, y: bool) -> u8 {
|
|
return y ? x : 2;
|
|
}
|