Add test of tuple nested indexing

This commit is contained in:
David Tolnay 2020-03-26 00:17:41 -07:00 committed by Vadim Petrochenkov
parent 8e256b19d5
commit 40a21707b4

View File

@ -0,0 +1,6 @@
// run-pass
fn main () {
let n = (1, (2, 3)).1.1;
assert_eq!(n, 3);
}