1
Fork 0
rust/src/test/ui/proc-macro/dollar-crate.rs

17 lines
210 B
Rust
Raw Normal View History

// compile-pass
// aux-build:dollar-crate.rs
extern crate dollar_crate;
type S = u8;
macro_rules! check { () => {
dollar_crate::normalize! {
type A = $crate::S;
}
}}
check!();
fn main() {}