summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/diagnostics/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index e8e24141..4fcf38ab 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1483,3 +1483,9 @@ end
return af
]]
+
+TEST [[
+local _ = type(function () ---@async
+ return nil
+end)
+]]