diff options
Diffstat (limited to 'tests/compile/titer_no_tuple_unpack.nim')
-rwxr-xr-x | tests/compile/titer_no_tuple_unpack.nim | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/compile/titer_no_tuple_unpack.nim b/tests/compile/titer_no_tuple_unpack.nim deleted file mode 100755 index da5e1bc46..000000000 --- a/tests/compile/titer_no_tuple_unpack.nim +++ /dev/null @@ -1,13 +0,0 @@ - -iterator xrange(fromm, to: int, step = 1): tuple[x, y: int] = - var a = fromm - while a <= to: - yield (a, a+1) - inc(a, step) - -for a, b in xrange(3, 7): - echo a, " ", b - -for tup in xrange(3, 7): - echo tup - |