diff options
-rw-r--r-- | test/basic/linker.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/basic/linker.txt b/test/basic/linker.txt index 86930dd1..5d3f54e8 100644 --- a/test/basic/linker.txt +++ b/test/basic/linker.txt @@ -102,3 +102,19 @@ local <!v!> = f(c) 'l2|@1' 'f|1|@1' 'f|1|#1' + +``` +---@generic T +---@param p T +---@return T +local function f(p) end + +local <?r?> = f(<!k!>) +``` + +l:r +s:1#1 +l:f#1 +dg:T +l:f@1 +k |