rust/tests/run-make/const-prop-lint/Makefile

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

10 lines
219 B
Makefile
Raw Normal View History

include ../tools.mk
# Test that emitting an error because of arithmetic
# overflow lint does not leave .o files around
# because of interrupted codegen.
all:
$(RUSTC) input.rs; test $$? -eq 1
2023-04-20 12:33:45 -05:00
ls *.o; test $$? -ne 0