2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(unused_macros)]
|
2015-05-15 12:20:26 -05:00
|
|
|
// Regression test for issue #25436: check that things which can be
|
|
|
|
// followed by any token also permit X* to come afterwards.
|
|
|
|
|
|
|
|
macro_rules! foo {
|
|
|
|
( $a:tt $($b:tt)* ) => { };
|
|
|
|
( $a:ident $($b:tt)* ) => { };
|
|
|
|
( $a:item $($b:tt)* ) => { };
|
|
|
|
( $a:block $($b:tt)* ) => { };
|
|
|
|
( $a:meta $($b:tt)* ) => { }
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() { }
|