summaryrefslogtreecommitdiffstats
path: root/tests/run-make/compiler-lookup-paths/d.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/compiler-lookup-paths/d.rs')
-rw-r--r--tests/run-make/compiler-lookup-paths/d.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-make/compiler-lookup-paths/d.rs b/tests/run-make/compiler-lookup-paths/d.rs
new file mode 100644
index 000000000..6cd9916b6
--- /dev/null
+++ b/tests/run-make/compiler-lookup-paths/d.rs
@@ -0,0 +1,4 @@
+#![crate_type = "rlib"]
+
+#[link(name = "native", kind = "static")]
+extern "C" {}