summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 35342dcf..3f3c563c 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -824,6 +824,10 @@ TEST [[
local t
]]
+TEST [[
+local _ <close> = function () end
+]]
+
-- checkUndefinedField 通用
TEST [[
---@class Foo