summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/shebang/shebang-doc-comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/shebang/shebang-doc-comment.rs')
-rw-r--r--tests/ui/parser/shebang/shebang-doc-comment.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/parser/shebang/shebang-doc-comment.rs b/tests/ui/parser/shebang/shebang-doc-comment.rs
new file mode 100644
index 000000000..72866753e
--- /dev/null
+++ b/tests/ui/parser/shebang/shebang-doc-comment.rs
@@ -0,0 +1,3 @@
+#!///bin/bash
+[allow(unused_variables)]
+//~^ ERROR expected item, found `[`