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