rust/tests/ui/proc-macro/custom-attr-only-one-derive.rs
2023-12-10 13:03:28 -08:00

15 lines
195 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() {}