summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-path-prelude-fail-4.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/macro-path-prelude-fail-4.rs')
-rw-r--r--tests/ui/macros/macro-path-prelude-fail-4.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-path-prelude-fail-4.rs b/tests/ui/macros/macro-path-prelude-fail-4.rs
new file mode 100644
index 000000000..0f93fcdaa
--- /dev/null
+++ b/tests/ui/macros/macro-path-prelude-fail-4.rs
@@ -0,0 +1,4 @@
+#[derive(inline)] //~ ERROR expected derive macro, found built-in attribute `inline`
+struct S;
+
+fn main() {}