leo/tests/compiler/group/ternary.leo
2022-10-05 16:53:49 -07:00

14 lines
262 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/point.in
*/
program test.aleo {
transition main(a: group, b: group, c: group) -> bool {
const r: group = true ? a : b;
console.assert(r == c);
return r == c;
}}