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

foo!();