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

10 lines
133 B
Rust
Raw Normal View History

2020-04-19 07:30:34 -05:00
// check-pass
macro_rules! m {
(.$l:literal) => {};
}
2020-04-19 07:30:34 -05:00
m!(.0.0); // OK, `0.0` after a dot is still a float token.
fn main() {}