summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/rlib-chain/m2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/rlib-chain/m2.rs')
-rw-r--r--src/test/run-make-fulldeps/rlib-chain/m2.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/rlib-chain/m2.rs b/src/test/run-make-fulldeps/rlib-chain/m2.rs
new file mode 100644
index 000000000..eba12fe12
--- /dev/null
+++ b/src/test/run-make-fulldeps/rlib-chain/m2.rs
@@ -0,0 +1,4 @@
+#![crate_type = "rlib"]
+extern crate m1;
+
+pub fn m2() { m1::m1() }