summaryrefslogtreecommitdiffstats
path: root/tests/run-make/lto-dylib-dep/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/lto-dylib-dep/main.rs')
-rw-r--r--tests/run-make/lto-dylib-dep/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/lto-dylib-dep/main.rs b/tests/run-make/lto-dylib-dep/main.rs
new file mode 100644
index 000000000..4fb3c4730
--- /dev/null
+++ b/tests/run-make/lto-dylib-dep/main.rs
@@ -0,0 +1,5 @@
+extern crate a_dylib;
+
+fn main() {
+ a_dylib::foo();
+}