3157f602 XL |
1 | macro_rules! foo { |
2 | { $+ } => { //~ ERROR expected identifier, found `+` |
8bb4bdeb |
3 | //~^ ERROR missing fragment specifier |
dc9dc135 |
4 | $(x)(y) //~ ERROR expected one of: `*`, `+`, or `?` |
54a0048b SL |
5 | } |
6 | } |
8bb4bdeb XL |
7 | |
8 | foo!(); |
ba9703b0 XL |
9 | |
10 | fn main() {} |