From da4bc8f26bad8997cf82b8e3752eb6c197eb08fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 25 Apr 2021 18:12:59 +0800 Subject: stash --- test/basic/linker.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test/basic') 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 = f(c) 'l2|@1' 'f|1|@1' 'f|1|#1' + +``` +---@generic T +---@param p T +---@return T +local function f(p) end + +local = f() +``` + +l:r +s:1#1 +l:f#1 +dg:T +l:f@1 +k -- cgit v1.2.3