summaryrefslogtreecommitdiffstats
path: root/tests/run-make/mixing-libs/prog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/mixing-libs/prog.rs')
-rw-r--r--tests/run-make/mixing-libs/prog.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make/mixing-libs/prog.rs b/tests/run-make/mixing-libs/prog.rs
new file mode 100644
index 000000000..14ce5c951
--- /dev/null
+++ b/tests/run-make/mixing-libs/prog.rs
@@ -0,0 +1,7 @@
+extern crate dylib;
+extern crate rlib;
+
+fn main() {
+ dylib::dylib();
+ rlib::rlib();
+}