summaryrefslogtreecommitdiff
path: root/server/test/definition/table.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/definition/table.lua')
-rw-r--r--server/test/definition/table.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua
index 57e61a78..47248508 100644
--- a/server/test/definition/table.lua
+++ b/server/test/definition/table.lua
@@ -74,3 +74,17 @@ local t
local <!x!>
t[<?x?>]()
]]
+
+TEST[[
+local <!t!>
+local _ = {
+ _ = <?t?>
+}
+]]
+
+TEST[[
+local <!t!>
+t {
+ _ = <?t?>.x
+}
+]]