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

foo!();

fn main() {}