summaryrefslogtreecommitdiff
path: root/test/signature
diff options
context:
space:
mode:
Diffstat (limited to 'test/signature')
-rw-r--r--test/signature/init.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index 765e0814..fca995bd 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -174,3 +174,19 @@ function Foo(param01: any, param02: any)
]],
arg = {14, 25},
}
+
+TEST [[
+function f1(a, b)
+end
+
+function f2(c, d)
+end
+
+f2(f1(),$)
+]]
+{
+ label = [[
+function f2(c: any, d: any)
+]],
+ arg = {21, 26},
+}