close #9827 by adding a test
This commit is contained in:
parent
4606a00d4e
commit
cb71564785
1 changed files with 7 additions and 0 deletions
7
tests/iter/titer14.nim
Normal file
7
tests/iter/titer14.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
proc f() =
|
||||||
|
var s: seq[int]
|
||||||
|
iterator a(): int =
|
||||||
|
for x in s: yield x
|
||||||
|
|
||||||
|
iterator b(): int =
|
||||||
|
for x in a(): yield x
|
||||||
Loading…
Add table
Add a link
Reference in a new issue