summaryrefslogtreecommitdiffstats
path: root/tests/run-make/extern-multiple-copies/bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/extern-multiple-copies/bar.rs')
-rw-r--r--tests/run-make/extern-multiple-copies/bar.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/extern-multiple-copies/bar.rs b/tests/run-make/extern-multiple-copies/bar.rs
new file mode 100644
index 000000000..c6b3595f6
--- /dev/null
+++ b/tests/run-make/extern-multiple-copies/bar.rs
@@ -0,0 +1,6 @@
+extern crate foo2; // foo2 first to exhibit the bug
+extern crate foo1;
+
+fn main() {
+ /* ... */
+}