diff options
Diffstat (limited to 'test/signature')
-rw-r--r-- | test/signature/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua index c7b9a137..90b47636 100644 --- a/test/signature/init.lua +++ b/test/signature/init.lua @@ -203,3 +203,14 @@ function f(a: any, b: any, c: any) ]], arg = {20, 25}, } + +TEST [[ +for _ in pairs($) do +end +]] +{ + label = [[ +function pairs(t: table) +]], + arg = {16, 23}, +} |