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

foo!();