summaryrefslogtreecommitdiff
path: root/test-beta/references
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta/references')
-rw-r--r--test-beta/references/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua
index 98758c1a..896997b6 100644
--- a/test-beta/references/init.lua
+++ b/test-beta/references/init.lua
@@ -131,6 +131,11 @@ end
TEST [[
local mt = {}
+local <?obj?> = setmetatable({}, mt)
+]]
+
+TEST [[
+local mt = {}
mt.x = 1
local obj = setmetatable({}, mt)
print(obj.<?x?>)