summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/macro-crate-rlib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui-fulldeps/macro-crate-rlib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui-fulldeps/macro-crate-rlib.rs b/src/test/ui-fulldeps/macro-crate-rlib.rs
new file mode 100644
index 000000000..1fd514c61
--- /dev/null
+++ b/src/test/ui-fulldeps/macro-crate-rlib.rs
@@ -0,0 +1,8 @@
+// aux-build:rlib-crate-test.rs
+// ignore-cross-compile gives a different error message
+
+#![feature(plugin)]
+#![plugin(rlib_crate_test)]
+//~^ ERROR: plugin `rlib_crate_test` only found in rlib format, but must be available in dylib
+
+fn main() {}