]> git.proxmox.com Git - rustc.git/blame - src/test/ui/macros/macro-match-nonterminal.rs
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / macros / macro-match-nonterminal.rs
CommitLineData
ba9703b0
XL
1macro_rules! test {
2 ($a, $b) => {
3 //~^ ERROR missing fragment
4 //~| ERROR missing fragment
b9856134 5 //~| WARN this was previously accepted
ba9703b0
XL
6 ()
7 };
8}
223e47cc
LB
9
10fn main() {
1a4d82fc 11 test!()
223e47cc 12}