summary refs log tree commit diff
path: root/src/test/run-make/inline-always-many-cgu/Makefile
blob: edf88a6327cd2e128779935a33a2420d8d113cb9 (plain)
1
2
3
4
5
6
7
8
-include ../tools.mk

all:
	$(RUSTC) foo.rs --emit llvm-ir -C codegen-units=2
	if grep -w call $(TMPDIR)/*.ll; then \
		echo "found call instruction when one wasn't expected"; \
		exit 1; \
	fi