This commit is contained in:
Andreas Rumpf 2018-02-25 17:28:47 +01:00
commit b35ee82c48
2 changed files with 19 additions and 1 deletions

View file

@ -2,7 +2,12 @@ discard """
output: '''true
3
4
5'''
5
0
1
2
3
4'''
cmd: "nim $target --gc:none --hints:on --warnings:off $options $file"
"""
@ -55,3 +60,7 @@ echo "true"
# bug #1560
for i in @[3, 4, 5]:
echo($i)
# bug #6992
for i in 0 ..< 5u32:
echo i