blob: b19700efe5ad3e988813be09da5bbf24a16198ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![feature(macro_rules)]
macro_rules! g {
($inp:ident) => (
{ $inp $nonexistent }
//~^ ERROR unknown macro variable `nonexistent`
);
}
fn main() {
let foo = 0;
g!(foo);
}
|