summaryrefslogtreecommitdiffstats
path: root/src/test/ui/attributes/unrestricted-attribute-tokens.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/attributes/unrestricted-attribute-tokens.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/attributes/unrestricted-attribute-tokens.rs b/src/test/ui/attributes/unrestricted-attribute-tokens.rs
new file mode 100644
index 000000000..e31bc91a0
--- /dev/null
+++ b/src/test/ui/attributes/unrestricted-attribute-tokens.rs
@@ -0,0 +1,8 @@
+// build-pass (FIXME(62277): could be check-pass?)
+
+#![feature(rustc_attrs)]
+
+#[rustc_dummy(a b c d)]
+#[rustc_dummy[a b c d]]
+#[rustc_dummy{a b c d}]
+fn main() {}