summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/bad-lint-cap.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/lint/bad-lint-cap.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/lint/bad-lint-cap.rs b/src/test/ui/lint/bad-lint-cap.rs
new file mode 100644
index 000000000..e65c8319d
--- /dev/null
+++ b/src/test/ui/lint/bad-lint-cap.rs
@@ -0,0 +1,4 @@
+// compile-flags: --cap-lints test
+// error-pattern: unknown lint level: `test`
+
+fn main() {}