summaryrefslogtreecommitdiff
path: root/test/definition/call.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-20 21:57:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-20 21:57:09 +0800
commit4ca61ec457822dd14966afa0752340ae8ce180a1 (patch)
treeae8adb1ad82c717868e551e699fd3cf3bb290089 /test/definition/call.lua
parentc63b2e404d8d2bb984afe3678a5ba2b2836380cc (diff)
downloadlua-language-server-4ca61ec457822dd14966afa0752340ae8ce180a1.zip
no longer beta
Diffstat (limited to 'test/definition/call.lua')
-rw-r--r--test/definition/call.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/definition/call.lua b/test/definition/call.lua
new file mode 100644
index 00000000..42502f40
--- /dev/null
+++ b/test/definition/call.lua
@@ -0,0 +1,8 @@
+TEST [[
+function f()
+ local <!x!>
+ return <!x!>
+end
+local <!y!> = f()
+print(<?y?>)
+]]