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 2352201a..36ae8711 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -1759,3 +1759,8 @@ local function f(<?x?>)
end
]]
+
+TEST 'integer' [[
+local x = 1
+x = <?x?>
+]]