summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 558ffc26..4bf7e81d 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1506,3 +1506,11 @@ TEST [[
TEST [[
---@type fun(xxx, yyy, ...): boolean
]]
+
+TEST [[
+local <!x!>
+
+return {
+ x = 1,
+}
+]]