summaryrefslogtreecommitdiffstats
path: root/tests/run-make/link-dedup/depa.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/link-dedup/depa.rs')
-rw-r--r--tests/run-make/link-dedup/depa.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run-make/link-dedup/depa.rs b/tests/run-make/link-dedup/depa.rs
new file mode 100644
index 000000000..19178c5bd
--- /dev/null
+++ b/tests/run-make/link-dedup/depa.rs
@@ -0,0 +1,10 @@
+#![crate_type = "rlib"]
+
+#[link(name = "testa")]
+extern "C" {}
+
+#[link(name = "testa")]
+extern "C" {}
+
+#[link(name = "testa")]
+extern "C" {}