Test even deeper nested indexing
This commit is contained in:
parent
40a21707b4
commit
0432f63acf
1 changed files with 3 additions and 0 deletions
|
@ -3,4 +3,7 @@
|
|||
fn main () {
|
||||
let n = (1, (2, 3)).1.1;
|
||||
assert_eq!(n, 3);
|
||||
|
||||
let n = (1, (2, (3, 4))).1.1.1;
|
||||
assert_eq!(n, 4);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue