blob: a3232d6fc361e8a7de04ecbcc6dcdf68d58aff52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// run-pass
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);
// This is a range expression, not nested indexing.
let _ = 0.0..1.1;
}
|