diff options
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r-- | test/diagnostics/common.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 6aa1dd6a..56ad0d59 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1387,3 +1387,11 @@ local value value = '1' value = value:gsub() ]] + +TEST [[ +T = {} +---@deprecated # comment +T.x = 1 + +print(<!T.x!>) +]] |