summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 83e73487..c07074f7 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -878,3 +878,7 @@ local t = f('')
print(t.<?x?>)
]]
+
+TEST 'table' [[
+local <?t?> = setmetatable({}, { __index = function () end })
+]]