diff options
Diffstat (limited to 'tests/ui/proc-macro/derive-expand-order.rs')
-rw-r--r-- | tests/ui/proc-macro/derive-expand-order.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/derive-expand-order.rs b/tests/ui/proc-macro/derive-expand-order.rs new file mode 100644 index 000000000..0cf1ceb91 --- /dev/null +++ b/tests/ui/proc-macro/derive-expand-order.rs @@ -0,0 +1,14 @@ +// run-pass +// aux-build:multiple-derives.rs + +extern crate multiple_derives; + +use multiple_derives::*; + +#[derive(First)] +#[derive(Second)] +#[derive(Third, Fourth)] +#[derive(Fifth)] +pub struct Foo {} + +fn main() {} |