summary refs log blame commit diff stats
path: root/tests/iter/tcountup.nim
blob: 5f75e653ce9a52f36cec1dd5b960fc7e0545411c (plain) (tree)
1
2
3
4
5
6
7
8
9
           



             
   
 
                  
 
                      
                 













                   
discard """
  output: '''
0123456789
0.0
'''
"""

# Test new countup

for i in 0 ..< 10'i64:
  stdout.write(i)

echo()

# 11099

var
  x: uint32
  y: float

for i in 0 ..< x:
  if i == 1: echo i
  y += 1

echo y