rust/tests/ui/proc-macro/auxiliary/span-test-macros.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
187 B
Rust
Raw Normal View History

2017-08-01 20:05:08 -05:00
#[macro_export]
macro_rules! reemit_legacy {
($($tok:tt)*) => ($($tok)*)
}
#[macro_export]
macro_rules! say_hello_extern {
($macname:ident) => ( $macname! { "Hello, world!" })
}