Added test for #1911.

This commit is contained in:
Dominik Picheta
2016-01-16 13:56:44 +00:00
parent bc65a7c76b
commit ac71ece673

View 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)