2 // This file is used to test the behavior of the early-pass syntax warnings.
3 // If macro syntax is stabilized, replace with a different unstable syntax.
7 //~^ WARN: `macro` is experimental
8 //~| WARN: unstable syntax
10 macro_rules! identity {
11 ($($x:tt)*) => ($($x)*);
16 macro d() {} // No error
22 //~^ WARN: `macro` is experimental
23 //~| WARN: unstable syntax