mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-19 01:18:32 +00:00
Added test for #1911.
This commit is contained in:
7
tests/closure/tissue1911.nim
Normal file
7
tests/closure/tissue1911.nim
Normal file
@@ -0,0 +1,7 @@
|
||||
proc foo(x: int) : auto =
|
||||
|
||||
proc helper() : int = x
|
||||
proc bar() : int = helper()
|
||||
proc baz() : int = helper()
|
||||
|
||||
return (bar, baz)
|
||||
Reference in New Issue
Block a user