]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/macros-in-extern-derive.rs
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[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 `struct`s, `enum`s and `union`s
3     fn f();
4 }
5
6 fn main() {}