summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/inline-always-many-cgu
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make-fulldeps/inline-always-many-cgu')
-rw-r--r--tests/run-make-fulldeps/inline-always-many-cgu/Makefile8
-rw-r--r--tests/run-make-fulldeps/inline-always-many-cgu/foo.rs15
2 files changed, 0 insertions, 23 deletions
diff --git a/tests/run-make-fulldeps/inline-always-many-cgu/Makefile b/tests/run-make-fulldeps/inline-always-many-cgu/Makefile
deleted file mode 100644
index 9945821db..000000000
--- a/tests/run-make-fulldeps/inline-always-many-cgu/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-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
diff --git a/tests/run-make-fulldeps/inline-always-many-cgu/foo.rs b/tests/run-make-fulldeps/inline-always-many-cgu/foo.rs
deleted file mode 100644
index 65fe69c16..000000000
--- a/tests/run-make-fulldeps/inline-always-many-cgu/foo.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-#![crate_type = "lib"]
-
-pub mod a {
- #[inline(always)]
- pub fn foo() {
- }
-
- pub fn bar() {
- }
-}
-
-#[no_mangle]
-pub fn bar() {
- a::foo();
-}