summaryrefslogtreecommitdiffstats
path: root/tests/run-make/use-extern-for-plugins/baz.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/use-extern-for-plugins/baz.rs')
-rw-r--r--tests/run-make/use-extern-for-plugins/baz.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make/use-extern-for-plugins/baz.rs b/tests/run-make/use-extern-for-plugins/baz.rs
new file mode 100644
index 000000000..49a96a0c8
--- /dev/null
+++ b/tests/run-make/use-extern-for-plugins/baz.rs
@@ -0,0 +1,8 @@
+#![feature(no_core)]
+#![no_core]
+#![crate_type = "lib"]
+
+#[macro_use]
+extern crate a;
+
+bar!();