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








                                                   
discard """
  errormsg: "cannot infer the return type of 'bar'"
  line: 6
"""

iterator bar(): auto =
  discard
for t in bar():
  discard