rust/tests/ui/tuple/index-float.rs
2024-02-16 20:02:50 +00:00

11 lines
200 B
Rust

//@ check-pass
fn main() {
let tuple = (((),),);
let () = tuple. 0.0; // OK, whitespace
let () = tuple.0. 0; // OK, whitespace
let () = tuple./*special cases*/0.0; // OK, comment
}