mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 07:00:47 +00:00
15 lines
199 B
Rust
15 lines
199 B
Rust
//@ run-pass
|
|
//@ proc-macro: 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() {}
|