diff options
Diffstat (limited to 'tests/reject/treciter.nim')
-rwxr-xr-x | tests/reject/treciter.nim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/reject/treciter.nim b/tests/reject/treciter.nim deleted file mode 100755 index 662239285..000000000 --- a/tests/reject/treciter.nim +++ /dev/null @@ -1,7 +0,0 @@ -# Test that an error message occurs for a recursive iterator - -iterator myrec(n: int): int = - for x in myrec(n-1): #ERROR_MSG recursive dependency: 'myrec' - yield x - -for x in myrec(10): echo x |