summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-match-nonterminal.rs
blob: 5d9eb55fee0366a96842811bffe0999338d7c129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
macro_rules! test {
    ($a, $b) => {
        //~^ ERROR missing fragment
        //~| ERROR missing fragment
        //~| ERROR missing fragment
        //~| WARN this was previously accepted
        //~| WARN this was previously accepted
        ()
    };
}

fn main() {
    test!()
}