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.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 6a8ba588..55b4f7af 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -4292,3 +4292,9 @@ local m = setmetatable({},{ __index = { a = 1 } })
m.<?a?>
]]
+
+TEST 'integer' [[
+local x = 1
+repeat
+until <?x?>
+]]