Skip to content

Commit 0432f63

Browse files
dtolnaypetrochenkov
authored andcommitted
Test even deeper nested indexing
1 parent 40a2170 commit 0432f63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/ui/tuple/nested-index.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
fn main () {
44
let n = (1, (2, 3)).1.1;
55
assert_eq!(n, 3);
6+
7+
let n = (1, (2, (3, 4))).1.1.1;
8+
assert_eq!(n, 4);
69
}

0 commit comments

Comments
 (0)