summaryrefslogtreecommitdiffstats
path: root/tests/ui/tuple/index-float.rs
blob: 53b025c9135b2548dde372b735cd23cf3555def9 (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
}