summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/derive-still-gated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/proc-macro/derive-still-gated.rs')
-rw-r--r--src/test/ui/proc-macro/derive-still-gated.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/derive-still-gated.rs b/src/test/ui/proc-macro/derive-still-gated.rs
new file mode 100644
index 000000000..3f8d6f071
--- /dev/null
+++ b/src/test/ui/proc-macro/derive-still-gated.rs
@@ -0,0 +1,9 @@
+// aux-build:test-macros.rs
+
+#[macro_use]
+extern crate test_macros;
+
+#[derive_Empty] //~ ERROR cannot find attribute `derive_Empty` in this scope
+struct A;
+
+fn main() {}