mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
15 lines
197 B
Rust
15 lines
197 B
Rust
//@ run-pass
|
|
//@ aux-build:custom-attr-only-one-derive.rs
|
|
|
|
#[macro_use]
|
|
extern crate custom_attr_only_one_derive;
|
|
|
|
#[derive(Bar, Foo)]
|
|
#[custom = "test"]
|
|
pub enum A {
|
|
B,
|
|
C,
|
|
}
|
|
|
|
fn main() {}
|