summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/diagnostics/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 4bf7e81d..1bbd83b9 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1514,3 +1514,11 @@ return {
x = 1,
}
]]
+
+TEST [[
+---@class A #1
+]]
+
+TEST [[
+---@class A 1
+]]