summaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic')
-rw-r--r--test/basic/linker.txt24
1 files changed, 20 insertions, 4 deletions
diff --git a/test/basic/linker.txt b/test/basic/linker.txt
index 284623cd..86930dd1 100644
--- a/test/basic/linker.txt
+++ b/test/basic/linker.txt
@@ -82,7 +82,23 @@ local <!x!> = f()
```
'd|A'
-'f|1:1'
-'f|1' + ':1'
-'l|1' + ':1'
-'s|1' + ':1'
+'f|1|#1'
+'f|1' + '|#1'
+'l|1' + '|#1'
+'s|1' + '|#1'
+
+```lua
+---@generic T
+---@param a T
+---@return T
+local function f(a) end
+
+local <?c?>
+
+local <!v!> = f(c)
+```
+
+'l1'
+'l2|@1'
+'f|1|@1'
+'f|1|#1'