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

#![feature(rust_2018_preview)]

#[macro_use]
extern crate custom_attr_only_one_derive;

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

fn main() {}