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 4787dd56..7b5fb332 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -1466,3 +1466,8 @@ G = {}
<?G?>:A()
]]
+
+TEST 'A' [[
+---@type A
+local <?x?> = nil
+]]