close #9827 by adding a test

This commit is contained in:
narimiran
2019-05-30 11:18:17 +02:00
parent 4606a00d4e
commit cb71564785

7
tests/iter/titer14.nim Normal file
View 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