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