summary refs log tree commit diff stats
path: root/tests/errmsgs/tmultiple_finally.nim
blob: 519a801452e2a2db6f1e4ebd323048eb18285dc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
errormsg: "Only one finally is allowed after all other branches"
"""

try:
  discard
finally:
  discard
finally:
  discard