summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r--test/type_inference/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 51b9f018..8b792826 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -385,3 +385,8 @@ local t = {}
print(t.<?a?>)
]]
+
+TEST 'integer' [[
+for <?i?> in ipairs() do
+end
+]]