mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 00:21:47 +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: u32, b: u32, c: u32) -> bool {
|
|
let r: u32 = s ? a : b;
|
|
|
|
return r == c;
|
|
}
|