rust/src/test/compile-fail/issue-6596.rs

14 lines
178 B
Rust
Raw Normal View History

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