summaryrefslogtreecommitdiff
path: root/server/test/definition
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/definition')
-rw-r--r--server/test/definition/table.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua
index 60792141..4f5d9095 100644
--- a/server/test/definition/table.lua
+++ b/server/test/definition/table.lua
@@ -14,3 +14,14 @@ local <!t!>
t.x = 1
<?t?>.x = 1
]]
+
+TEST [[
+t.<!x!> = 1
+t.<?x?>.y = 1
+]]
+
+TEST [[
+local t
+t.<!x!> = 1
+t.<?x?>()
+]]