rust/src/test/compile-fail/issue-6596.rs
Corey Richardson 5118d2f84a Add test
2013-05-22 19:19:00 -04:00

10 lines
143 B
Rust

macro_rules! e( //~ ERROR unknown macro variable `nonexistent`
($inp:ident) => (
$nonexistent
);
)
fn main() {
e!(foo);
}