rust/tests/run-make/issue-26092/Makefile

7 lines
166 B
Makefile
Raw Normal View History

include ../tools.mk
# This test ensures that rustc does not panic with `-o ""` option.
all:
$(RUSTC) -o "" blank.rs 2>&1 | $(CGREP) -i 'panic' && exit 1 || exit 0