]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/macros-in-extern-derive.rs
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
[rust.git] / src / test / ui / proc-macro / macros-in-extern-derive.rs
1 extern "C" {
2     #[derive(Copy)] //~ ERROR `derive` may only be applied to structs, enums and unions
3     fn f();
4 }
5
6 fn main() {}