ensure rustc does not panic by the test for issue-26092
This commit is contained in:
parent
7a5e773dc2
commit
1147d50050
@ -1,4 +1,6 @@
|
||||
-include ../tools.mk
|
||||
|
||||
# This test ensures that rustc does not panic with `-o ""` option.
|
||||
|
||||
all:
|
||||
$(RUSTC) -o "" blank.rs 2>&1 | $(CGREP) -i 'No such file or directory'
|
||||
$(RUSTC) -o "" blank.rs 2>&1 | $(CGREP) -i 'panic' && exit 1 || exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user