summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 974e3f73..19f868f4 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -2056,3 +2056,10 @@ local iter
for <?x?> in iter do
end
]]
+
+TEST 'integer' [[
+local x
+
+---@type integer
+<?x?> = XXX
+]]