summaryrefslogtreecommitdiff
path: root/test-beta/definition/arg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta/definition/arg.lua')
-rw-r--r--test-beta/definition/arg.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/test-beta/definition/arg.lua b/test-beta/definition/arg.lua
new file mode 100644
index 00000000..9e88b2bf
--- /dev/null
+++ b/test-beta/definition/arg.lua
@@ -0,0 +1,19 @@
+TEST [[
+local function xx (<!xx!>)
+ <?xx?>()
+end
+]]
+
+TEST [[
+local <!mt!>
+function mt:x()
+ <?self?>()
+end
+mt:x()
+]]
+
+TEST [[
+function mt:x(<!self!>)
+ <?self?>()
+end
+]]