about summary refs log tree commit diff
path: root/tests/ui/attributes/unrestricted-attribute-tokens.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/unrestricted-attribute-tokens.rs')
-rw-r--r--tests/ui/attributes/unrestricted-attribute-tokens.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/attributes/unrestricted-attribute-tokens.rs b/tests/ui/attributes/unrestricted-attribute-tokens.rs
new file mode 100644
index 00000000000..e31bc91a00a
--- /dev/null
+++ b/tests/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() {}