summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/custom-attr-only-one-derive.rs
blob: 901394384d545b6bc0e319084d717ca904a5e29b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
// aux-build:custom-attr-only-one-derive.rs

#[macro_use]
extern crate custom_attr_only_one_derive;

#[derive(Bar, Foo)]
#[custom = "test"]
pub enum A {
    B,
    C,
}

fn main() {}