diff options
Diffstat (limited to 'src/test/ui-fulldeps/lint-plugin.rs')
-rw-r--r-- | src/test/ui-fulldeps/lint-plugin.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui-fulldeps/lint-plugin.rs b/src/test/ui-fulldeps/lint-plugin.rs new file mode 100644 index 000000000..66057eea6 --- /dev/null +++ b/src/test/ui-fulldeps/lint-plugin.rs @@ -0,0 +1,13 @@ +// run-pass +// aux-build:lint-plugin-test.rs +// ignore-stage1 +#![feature(plugin)] +#![plugin(lint_plugin_test)] //~ WARNING use of deprecated attribute +#![allow(dead_code)] + +fn lintme() { } //~ WARNING item is named 'lintme' + +#[allow(test_lint)] +pub fn main() { + fn lintme() { } +} |