blob: 71d59d8d31bb99ef2bf3b2063e558223be2e6043 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// run-pass
#![allow(unused_macros)]
// 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() { }
|