Added test for #1911.
This commit is contained in:
parent
bc65a7c76b
commit
ac71ece673
1 changed files with 7 additions and 0 deletions
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue