]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/custom-attr-only-one-derive.rs
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[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() {}