about summary refs log tree commit diff
path: root/tests/run-make/symbol-mangling-hashed/b_dylib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/symbol-mangling-hashed/b_dylib.rs')
-rw-r--r--tests/run-make/symbol-mangling-hashed/b_dylib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-make/symbol-mangling-hashed/b_dylib.rs b/tests/run-make/symbol-mangling-hashed/b_dylib.rs
new file mode 100644
index 00000000000..c26a04b39ec
--- /dev/null
+++ b/tests/run-make/symbol-mangling-hashed/b_dylib.rs
@@ -0,0 +1,9 @@
+#![crate_type="dylib"]
+
+extern crate a_rlib;
+extern crate a_dylib;
+
+pub fn hello() {
+    a_rlib::hello();
+    a_dylib::hello();
+}