rust/tests/ui/tuple/indexing-in-macro.rs

10 lines
134 B
Rust

//@ check-pass
macro_rules! m {
(.$l:literal) => {};
}
m!(.0.0); // OK, `0.0` after a dot is still a float token.
fn main() {}