diff options
Diffstat (limited to 'tests/ui/parser/shebang/shebang-must-start-file.rs')
-rw-r--r-- | tests/ui/parser/shebang/shebang-must-start-file.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/parser/shebang/shebang-must-start-file.rs b/tests/ui/parser/shebang/shebang-must-start-file.rs new file mode 100644 index 000000000..e0392572d --- /dev/null +++ b/tests/ui/parser/shebang/shebang-must-start-file.rs @@ -0,0 +1,6 @@ +// something on the first line for tidy +#!/bin/bash //~ expected `[`, found `/` + +fn main() { + println!("ok!"); +} |