]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/custom-attr-only-one-derive.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[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() {}