summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/issue-40001.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui-fulldeps/issue-40001.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui-fulldeps/issue-40001.rs b/src/test/ui-fulldeps/issue-40001.rs
new file mode 100644
index 000000000..e14338fdb
--- /dev/null
+++ b/src/test/ui-fulldeps/issue-40001.rs
@@ -0,0 +1,10 @@
+// run-pass
+// aux-build:issue-40001-plugin.rs
+// ignore-stage1
+
+#![feature(plugin, register_tool)]
+#![plugin(issue_40001_plugin)] //~ WARNING compiler plugins are deprecated
+#![register_tool(plugin)]
+
+#[plugin::allowed_attr]
+fn main() {}