summaryrefslogtreecommitdiff
path: root/test/diagnostics/common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r--test/diagnostics/common.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 5e65b410..de2481a6 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -1727,6 +1727,13 @@ function F()
end
]]
+TEST [[
+---@return ...
+function F()
+ return
+end
+]]
+
do return end
TEST [[
---@return number