leo/asg/tests/pass/tuples/nested_access.leo
2021-01-25 07:19:38 -08:00

8 lines
174 B
Plaintext

function main() {
let a = (true, false);
let b = (true, a);
console.assert(b.0 == true);
console.assert(b.1.0 == true);
console.assert(b.1.1 == false);
}