leo/tests/compiler/boolean/conditional.leo
2022-10-05 16:53:49 -07:00

15 lines
261 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/false_false.in
- inputs/false_true.in
- inputs/true_false.in
- inputs/true_true.in
*/
program test.aleo {
transition main(a: bool, b: bool) -> bool {
return a ? b : false;
}}