diff options
Diffstat (limited to 'server/test/references/init.lua')
-rw-r--r-- | server/test/references/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/test/references/init.lua b/server/test/references/init.lua index bcaafbbc..6a8b42db 100644 --- a/server/test/references/init.lua +++ b/server/test/references/init.lua @@ -85,3 +85,12 @@ function <!mt!>:a() <?self?>:remove() end ]] + +TEST [[ +local function f() + return <?function () + end?> +end + +local <!f2!> = f() +]] |