summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/plugin-args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui-fulldeps/plugin-args.rs')
-rw-r--r--src/test/ui-fulldeps/plugin-args.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui-fulldeps/plugin-args.rs b/src/test/ui-fulldeps/plugin-args.rs
new file mode 100644
index 000000000..488f2b775
--- /dev/null
+++ b/src/test/ui-fulldeps/plugin-args.rs
@@ -0,0 +1,9 @@
+// aux-build:empty-plugin.rs
+// ignore-stage1
+
+#![feature(plugin)]
+#![plugin(empty_plugin(args))]
+//~^ ERROR malformed `plugin` attribute
+//~| WARNING compiler plugins are deprecated
+
+fn main() {}