1 // run-pass
2 #![allow(unused_macros)]
3 // Regression test for issue #25436: check that things which can be
4 // followed by any token also permit X* to come afterwards.
5 
6 macro_rules! foo {
7   ( $a:tt $($b:tt)* ) => { };
8   ( $a:ident $($b:tt)* ) => { };
9   ( $a:item $($b:tt)* ) => { };
10   ( $a:block $($b:tt)* ) => { };
11   ( $a:meta $($b:tt)* ) => { }
12 }
13 
main()14 fn main() { }
15