leo/tests/compiler/tuples/dependent.leo
2021-04-19 18:08:14 -07:00

11 lines
206 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/true_true.in
*/
function main(a: (bool, bool)) -> (bool, bool) {
const a = (a.0 ? false : true, a.1 ? false : true);
return (a.0, a.1);
}