diff options
Diffstat (limited to 'test/diagnostics/duplicate-doc-alias.lua')
-rw-r--r-- | test/diagnostics/duplicate-doc-alias.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/diagnostics/duplicate-doc-alias.lua b/test/diagnostics/duplicate-doc-alias.lua index 0373fee9..5a208e3e 100644 --- a/test/diagnostics/duplicate-doc-alias.lua +++ b/test/diagnostics/duplicate-doc-alias.lua @@ -8,3 +8,14 @@ TEST [[ ---@class B ---@alias <!A!> B ]] + +TEST [[ +---@alias A integer +---@alias(merge) A integer + +---@enum B +---@enum(merge) B + +---@enum(key) C +---@enum(key, merge) C +]] |