summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/shebang/multiline-attrib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/shebang/multiline-attrib.rs')
-rw-r--r--tests/ui/parser/shebang/multiline-attrib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/parser/shebang/multiline-attrib.rs b/tests/ui/parser/shebang/multiline-attrib.rs
new file mode 100644
index 000000000..931c94c7f
--- /dev/null
+++ b/tests/ui/parser/shebang/multiline-attrib.rs
@@ -0,0 +1,7 @@
+#!
+[allow(unused_variables)]
+// check-pass
+
+fn main() {
+ let x = 5;
+}