summaryrefslogtreecommitdiff
path: root/test/basic/linker.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic/linker.txt')
-rw-r--r--test/basic/linker.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/basic/linker.txt b/test/basic/linker.txt
index 76b1980c..284623cd 100644
--- a/test/basic/linker.txt
+++ b/test/basic/linker.txt
@@ -72,3 +72,17 @@ expect: 't|2|b|c'
forward: nil
backward: 't|2|b' + '|c'
last: nil
+
+```lua
+---@return <?A?>
+local function f()
+end
+
+local <!x!> = f()
+```
+
+'d|A'
+'f|1:1'
+'f|1' + ':1'
+'l|1' + ':1'
+'s|1' + ':1'