leo/tests/compiler/tuples/nested_access.leo
2021-05-06 14:27:42 +03:00

12 lines
193 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/true_true.in
*/
function main(a: (bool, bool)) -> (bool, bool) {
let b = (a, false);
return (b.1 || b.0.0, b.1 && b.0.1);
}