summaryrefslogtreecommitdiff
path: root/test/diagnostics/unknown-operator.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/unknown-operator.lua')
-rw-r--r--test/diagnostics/unknown-operator.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/diagnostics/unknown-operator.lua b/test/diagnostics/unknown-operator.lua
new file mode 100644
index 00000000..bb193f6a
--- /dev/null
+++ b/test/diagnostics/unknown-operator.lua
@@ -0,0 +1,4 @@
+TEST [[
+---@class A
+---@operator <!xxx!>: A
+]]