summaryrefslogtreecommitdiffstats
path: root/tests/ui/tuple/indexing-in-macro.rs
blob: bef4a69ab23c9ce67a64a660398888c1a3e5c62d (plain)
1
2
3
4
5
6
7
8
9
// check-pass

macro_rules! m {
    (.$l:literal) => {};
}

m!(.0.0); // OK, `0.0` after a dot is still a float token.

fn main() {}