Nim/tests/arc/cmodule.nim
Clyybber 8480bef1c4
Add testcase for #14864 (#14928)
* Add testcase for #14864

* :D
2020-07-07 22:43:36 +02:00

4 lines
80 B
Nim

iterator cycle*[T](s: openArray[T]): T =
let s = @s
for x in s:
yield x