rust/tests/run-make/issue-26092/Makefile
2023-03-30 07:34:55 -05:00

7 lines
166 B
Makefile

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