]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/custom-attr-only-one-derive.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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() {}