summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/inline-always-many-cgu/Makefile
blob: 9945821db289121aa60849b7a878aded3777928d (plain)
1
2
3
4
5
6
7
8
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