blob: 0c8eab3f2eb9b964db114dc8d641586f5ad7a96c [file]
#![feature(no_core)]
#![no_core]
#![feature(extended_key_value_attributes)]
#![feature(rustc_attrs)]
#[rustc_builtin_macro]
macro_rules! stringify {
() => {{}};
}
pub macro m($inner_str:expr) {
#[m = $inner_str]
// { dg-error "macro not found" "" { target *-*-* } .-1 }
struct S;
}
fn main() {
m!(stringify!(foo));
}