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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}