leo/tests/compiler/boolean/conditional.leo
2021-04-19 18:08:14 -07:00

13 lines
217 B
Plaintext

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