summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 4e485d2a..eb8a8099 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -960,3 +960,10 @@ print(T1.f1)
T2 = {}
print(T2.<!f2!>)
]]
+
+TEST [[
+---@overload fun(...)
+local function f() end
+
+f(1)
+]]