1 // Regression test for issue #25436: check that things which can be
2 // followed by any token also permit X* to come afterwards.
4 #![allow(unused_macros)]
7 ( $a:expr $($b:tt)* ) => { }; //~ ERROR not allowed for `expr` fragments
8 ( $a:ty $($b:tt)* ) => { }; //~ ERROR not allowed for `ty` fragments