summaryrefslogtreecommitdiff
path: root/test/definition/table.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/definition/table.lua')
-rw-r--r--test/definition/table.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/definition/table.lua b/test/definition/table.lua
index 0fb76191..47cb13ea 100644
--- a/test/definition/table.lua
+++ b/test/definition/table.lua
@@ -151,6 +151,15 @@ print(x.y.<?z?>)
]]
TEST [[
+local x = {
+ y = {
+ <!z!> = 1
+ }
+}
+print(x.y.<?z?>)
+]]
+
+TEST [[
local function f()
local t = {}
t.field1 = {