summary refs log tree commit diff
path: root/src/test/ui/parser/macro/issue-33569.rs
blob: 80e2d7c6545ba277512e0c9c2ad7ee0a0c70be40 (plain)
1
2
3
4
5
6
7
8
9
10
macro_rules! foo {
    { $+ } => { //~ ERROR expected identifier, found `+`
                //~^ ERROR missing fragment specifier
        $(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
    }
}

foo!();

fn main() {}