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