summaryrefslogtreecommitdiff
path: root/test/diagnostics/common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r--test/diagnostics/common.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 2a9cefe0..f52a9b20 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -1395,3 +1395,13 @@ T.x = 1
print(<!T.x!>)
]]
+
+TEST [[
+T = {}
+
+---@deprecated
+function T:ff()
+end
+
+<!T:ff!>()
+]]