summary refs log tree commit diff stats
path: root/tests/parser/tinvcolonlocation3.nim
blob: 46252f24e2b3d6d5b8c9bdbdc52901c0caa17480 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
  errormsg: "expected: ':', but got: 'echo'"
  file: "tinvcolonlocation3.nim"
  line: 12
  column: 7
"""
try:
  echo "try"
except:
  echo "except"
finally #<- missing ':'
  echo "finally"