about summary refs log tree commit diff
path: root/tests/ui/tuple/index-float.rs
blob: 2faf71cb01d33959c7a6d08b5a1ad768a6da673e (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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
}