summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/lint-group-denied-lint-allowed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-fulldeps/lint-group-denied-lint-allowed.rs')
-rw-r--r--tests/ui-fulldeps/lint-group-denied-lint-allowed.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui-fulldeps/lint-group-denied-lint-allowed.rs b/tests/ui-fulldeps/lint-group-denied-lint-allowed.rs
new file mode 100644
index 000000000..7498745f2
--- /dev/null
+++ b/tests/ui-fulldeps/lint-group-denied-lint-allowed.rs
@@ -0,0 +1,7 @@
+// aux-build:lint-group-plugin-test.rs
+// check-pass
+// compile-flags: -D unused -A unused-variables
+
+fn main() {
+ let x = 1;
+}