]> git.lizzy.rs Git - rust.git/blobdiff - tests/run-make-fulldeps/inline-always-many-cgu/Makefile
Move /src/test to /tests
[rust.git] / tests / run-make-fulldeps / inline-always-many-cgu / Makefile
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 (file)
index 0000000..9945821
--- /dev/null
@@ -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