This commit is contained in:
Araq 2014-08-13 02:53:00 +02:00
commit 32a5d4baf0
2 changed files with 16 additions and 4 deletions

View file

@ -1,6 +1,9 @@
discard """
file: "tstrange.nim"
output: "hallo4"
output: '''hallo4
0
1
2'''
"""
# test for extremely strange bug
@ -19,5 +22,8 @@ gen("hallo")
write(stdout, ack(5, 4))
#OUT hallo4
# bug #1442
let h=3
for x in 0.. <h.int:
echo x