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




                                                       

                                                                               
     

 
discard """
  file: "titer4.nim"
  line: 7
  errormsg: "iterator within for loop context expected"
"""
# implicit items/pairs, but not if we have 3 for loop vars:
for x, y, z in {'a'..'z'}: #ERROR_MSG iterator within for loop context expected
  nil