about summary refs log tree commit diff
path: root/tests/ui/attributes/z-crate-attr/comments.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/z-crate-attr/comments.rs')
-rw-r--r--tests/ui/attributes/z-crate-attr/comments.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/attributes/z-crate-attr/comments.rs b/tests/ui/attributes/z-crate-attr/comments.rs
new file mode 100644
index 00000000000..c1ab041f344
--- /dev/null
+++ b/tests/ui/attributes/z-crate-attr/comments.rs
@@ -0,0 +1,5 @@
+//@ check-pass
+//@ compile-flags: -Zcrate-attr=/*hi-there*/feature(rustc_attrs)
+
+#[rustc_dummy]
+fn main() {}