rust/tests/ui/tuple/index-float.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
196 B
Rust
Raw Normal View History

2020-04-19 07:30:34 -05:00
// check-pass
fn main() {
let tuple = (((),),);
2020-04-19 07:30:34 -05:00
let _ = tuple. 0.0; // OK, whitespace
2020-07-01 06:12:49 -05:00
let _ = tuple.0. 0; // OK, whitespace
2020-04-19 07:30:34 -05:00
let _ = tuple./*special cases*/0.0; // OK, comment
}