summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/lint-tool-cmdline-allow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-fulldeps/lint-tool-cmdline-allow.rs')
-rw-r--r--tests/ui-fulldeps/lint-tool-cmdline-allow.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui-fulldeps/lint-tool-cmdline-allow.rs b/tests/ui-fulldeps/lint-tool-cmdline-allow.rs
new file mode 100644
index 000000000..83a8b3e1a
--- /dev/null
+++ b/tests/ui-fulldeps/lint-tool-cmdline-allow.rs
@@ -0,0 +1,12 @@
+// check-pass
+// aux-build:lint-tool-test.rs
+// ignore-stage1
+// compile-flags: -A test-lint
+
+#![feature(plugin)]
+#![plugin(lint_tool_test)] //~ WARNING compiler plugins are deprecated
+
+fn lintme() {}
+//~^ WARNING item is named 'lintme' [clippy::test_lint]
+
+pub fn main() {}