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