]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/macros-in-extern-derive.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' 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() {}