mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 04:01:47 +03:00
10 lines
190 B
Plaintext
10 lines
190 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file:
|
|
- inputs/scalars.in
|
|
*/
|
|
|
|
function main(a: scalar, b: scalar, c: scalar) -> bool {
|
|
return b == 1scalar ? a == 1scalar : c == 2scalar;
|
|
} |