Files
Nim/tests/errmsgs/tmultiple_finally.nim
Dheepak Krishnamurthy ffeb3c6cec Add checks for except: body blocks (#9191)
(cherry picked from commit 70018aa683)
2018-11-01 17:25:30 +01:00

13 lines
137 B
Nim

discard """
errormsg: "Only one finally is allowed after all other branches"
"""
try:
discard
finally:
discard
finally:
discard