mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00
15 lines
217 B
Rust
15 lines
217 B
Rust
//@ run-pass
|
|
//@ proc-macro: multiple-derives.rs
|
|
|
|
extern crate multiple_derives;
|
|
|
|
use multiple_derives::*;
|
|
|
|
#[derive(First)]
|
|
#[derive(Second)]
|
|
#[derive(Third, Fourth)]
|
|
#[derive(Fifth)]
|
|
pub struct Foo {}
|
|
|
|
fn main() {}
|