diff options
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r-- | test/diagnostics/common.lua | 10 |
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!>() +]] |