rust/tests/ui/hygiene/auxiliary/transparent-basic.rs

7 lines
134 B
Rust

#![feature(decl_macro, rustc_attrs)]
#[rustc_macro_transparency = "transparent"]
pub macro dollar_crate() {
let s = $crate::S;
}