leo/tests/compiler/tuples/nested_access.leo

11 lines
194 B
Plaintext
Raw Normal View History

2021-04-20 04:08:14 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/true_true.in
*/
function main(a: (bool, bool)) -> (bool, bool) {
const b = (a, false);
return (b.1 || b.0.0, b.1 && b.0.1);
}