diff options
Diffstat (limited to 'src/test/ui-fulldeps/lint-plugin-cmdline-allow.rs')
-rw-r--r-- | src/test/ui-fulldeps/lint-plugin-cmdline-allow.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui-fulldeps/lint-plugin-cmdline-allow.rs b/src/test/ui-fulldeps/lint-plugin-cmdline-allow.rs new file mode 100644 index 000000000..1cc16e2fd --- /dev/null +++ b/src/test/ui-fulldeps/lint-plugin-cmdline-allow.rs @@ -0,0 +1,12 @@ +// check-pass +// aux-build:lint-plugin-test.rs +// ignore-stage1 +// compile-flags: -A test-lint + +#![feature(plugin)] +#![plugin(lint_plugin_test)] //~ WARNING compiler plugins are deprecated + +fn lintme() { } + +pub fn main() { +} |