summaryrefslogtreecommitdiff
path: root/test/crossfile/references.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/references.lua')
-rw-r--r--test/crossfile/references.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/crossfile/references.lua b/test/crossfile/references.lua
index 0b7beb82..7376ccd8 100644
--- a/test/crossfile/references.lua
+++ b/test/crossfile/references.lua
@@ -373,3 +373,18 @@ TEST {
]]
},
}
+
+TEST {
+ {
+ path = 'a.lua',
+ content = [[
+ ---@alias <~XX~> number
+ ]]
+ },
+ {
+ path = 'b.lua',
+ content = [[
+ ---@type <!XX!>
+ ]]
+ }
+}