blob: 0cab955f6442bb70d3acb8063ed645666a9ba414 [file] [log] [blame]
-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