summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/common.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 4c065ac6..886f086a 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -2000,3 +2000,10 @@ print(1)
do return end
]]
+
+TEST [[
+---@type unknown
+local t
+
+local _ <close> = t
+]]