]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/custom-attr-only-one-derive.rs
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15
[rust.git] / src / test / ui / proc-macro / custom-attr-only-one-derive.rs
1 // run-pass
2 // aux-build:custom-attr-only-one-derive.rs
3
4 #![feature(rust_2018_preview)]
5
6 #[macro_use]
7 extern crate custom_attr_only_one_derive;
8
9 #[derive(Bar, Foo)]
10 #[custom = "test"]
11 pub enum A {
12     B,
13     C,
14 }
15
16 fn main() {}