summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/common.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index ec71e77e..0df678d1 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -1659,6 +1659,12 @@ TEST [[
]]
TEST [[
+---@diagnostic disable: unused-local
+local x, y
+---@cast y number
+]]
+
+TEST [[
---@class A
---@class B