summaryrefslogtreecommitdiff
path: root/test/diagnostics/circle-doc-class.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/circle-doc-class.lua')
-rw-r--r--test/diagnostics/circle-doc-class.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/diagnostics/circle-doc-class.lua b/test/diagnostics/circle-doc-class.lua
new file mode 100644
index 00000000..089b0c9b
--- /dev/null
+++ b/test/diagnostics/circle-doc-class.lua
@@ -0,0 +1,14 @@
+TEST [[
+---@class <!A : B!>
+---@class <!B : C!>
+---@class <!C : D!>
+---@class <!D : A!>
+]]
+
+TEST [[
+---@class A : B
+---@class B : C
+---@class C : D
+---@class D
+]]
+