summary refs log tree commit diff
path: root/src/test/compile-fail/issue-6596.rs
blob: 339f21d10c31dbf87e9420d78a9251f7ffcac41b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[feature(macro_rules)];

// error-pattern: unknown macro variable `nonexistent`

macro_rules! e(
    ($inp:ident) => (
        $nonexistent
    );
)

fn main() {
    e!(foo);
}