rust/tests/run-make-fulldeps/inline-always-many-cgu/Makefile
2023-01-11 09:32:08 +00:00

9 lines
209 B
Makefile

include ../tools.mk
all:
$(RUSTC) foo.rs --emit llvm-ir -C codegen-units=2
if cat $(TMPDIR)/*.ll | $(CGREP) -e '\bcall\b'; then \
echo "found call instruction when one wasn't expected"; \
exit 1; \
fi