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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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