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.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/definition/table.lua b/test/definition/table.lua
index ba2d2aa3..d63cc655 100644
--- a/test/definition/table.lua
+++ b/test/definition/table.lua
@@ -157,3 +157,9 @@ end
local t = f()
t.field1.<?x?>
]]
+
+TEST [[
+local t = { <!a!> }
+
+print(t[<?1?>])
+]]