summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r--test/type_inference/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 6d5a57dd..1a07b807 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -987,3 +987,8 @@ local mt
---@type number
function mt:f(<?x?>) end
]]
+
+TEST 'Test' [[
+---@class Test
+_G.<?Test?> = {}
+]]