mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-22 17:51:39 +03:00
14 lines
203 B
Plaintext
14 lines
203 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file:
|
|
- inputs/tern.in
|
|
- inputs/tern_rev.in
|
|
*/
|
|
|
|
function main(s: bool, a: i16, b: i16, c: i16) -> bool {
|
|
let r: i16 = s ? a : b;
|
|
|
|
return r == c;
|
|
}
|