summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/definition/luadoc.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index d7ac9a5b..19b4421b 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -881,3 +881,15 @@ G = {
local f
f.<?x?>
]]
+
+TEST [[
+---@class <!XXX!><K, V>: {}
+
+---@type <?XXX?><>
+]]
+
+TEST [[
+---@class <!YYY!>
+
+---@type XXX<<?YYY?>>
+]]