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