rust/src/test/compile-fail/issue-6596.rs
2013-10-06 14:39:25 -07:00

14 lines
178 B
Rust

#[feature(macro_rules)];
// error-pattern: unknown macro variable `nonexistent`
macro_rules! e(
($inp:ident) => (
$nonexistent
);
)
fn main() {
e!(foo);
}