summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/diagnostic.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/crossfile/diagnostic.lua b/test/crossfile/diagnostic.lua
index e574204a..58c89805 100644
--- a/test/crossfile/diagnostic.lua
+++ b/test/crossfile/diagnostic.lua
@@ -165,3 +165,14 @@ TEST {
print(obj.<!x!>)
]]}
}
+
+TEST {
+ { path = 'a.lua', content = [[
+ ---@class A
+ ---@field <!x!> number
+ ]]},
+ { path = 'b.lua', content = [[
+ ---@class A
+ ---@field <!x!> number
+ ]]}
+}