summaryrefslogtreecommitdiff
path: root/test/definition/special.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/definition/special.lua')
-rw-r--r--test/definition/special.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/definition/special.lua b/test/definition/special.lua
index 4e3728e3..3f0d076a 100644
--- a/test/definition/special.lua
+++ b/test/definition/special.lua
@@ -124,3 +124,13 @@ end
obj:<?x?>()
]]
+
+TEST [[
+local mt = {}
+
+mt.<!xx!> = 1
+
+mt.yy = function (self)
+ print(self.<?xx?>)
+end
+]]