summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/auxiliary/derive-two-attrs.rs
blob: a6f0eec126a0ae89206c572cc96d69cdbcaa30a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// force-host
// no-prefer-dynamic

#![crate_type = "proc-macro"]

extern crate proc_macro;

use proc_macro::*;

#[proc_macro_derive(A, attributes(b))]
pub fn foo(_x: TokenStream) -> TokenStream {
    TokenStream::new()
}