summaryrefslogtreecommitdiff
path: root/script-beta/test/definition/call.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/test/definition/call.lua')
-rw-r--r--script-beta/test/definition/call.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/script-beta/test/definition/call.lua b/script-beta/test/definition/call.lua
new file mode 100644
index 00000000..42502f40
--- /dev/null
+++ b/script-beta/test/definition/call.lua
@@ -0,0 +1,8 @@
+TEST [[
+function f()
+ local <!x!>
+ return <!x!>
+end
+local <!y!> = f()
+print(<?y?>)
+]]