We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a5e773 commit 1147d50Copy full SHA for 1147d50
src/test/run-make-fulldeps/issue-26092/Makefile
@@ -1,4 +1,6 @@
1
-include ../tools.mk
2
3
+# This test ensures that rustc does not panic with `-o ""` option.
4
+
5
all:
- $(RUSTC) -o "" blank.rs 2>&1 | $(CGREP) -i 'No such file or directory'
6
+ $(RUSTC) -o "" blank.rs 2>&1 | $(CGREP) -i 'panic' && exit 1 || exit 0
0 commit comments