summaryrefslogtreecommitdiffstats
path: root/tests/ui/crate-loading/auxiliary/proc-macro.rs
blob: 52631de575761e4a636f6f7d607e8cefa5e6a643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// force-host
// no-prefer-dynamic
#![crate_name = "reproduction"]
#![crate_type = "proc-macro"]

extern crate proc_macro;
use proc_macro::TokenStream;

#[proc_macro]
pub fn mac(input: TokenStream) -> TokenStream {
    input
}