summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index dc725f6c..46accbf7 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1921,3 +1921,11 @@ end
[[
(upvalue) x: unknown
]]
+
+TEST [[
+---@type `123 ????` | ` x | y `
+local <?x?>
+]]
+[[
+local x: ` x | y `|`123 ????`
+]]