diff options
Diffstat (limited to 'tests/run-make-fulldeps/inline-always-many-cgu/Makefile')
-rw-r--r-- | tests/run-make-fulldeps/inline-always-many-cgu/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/inline-always-many-cgu/Makefile b/tests/run-make-fulldeps/inline-always-many-cgu/Makefile new file mode 100644 index 000000000..9945821db --- /dev/null +++ b/tests/run-make-fulldeps/inline-always-many-cgu/Makefile @@ -0,0 +1,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 |