This commit is contained in:
Timothee Cour 2018-12-04 07:48:08 -08:00 • committed by Andreas Rumpf
commit d502ddea9e
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
discard """
file: "tstatret.nim"
line: 9
errormsg: "unreachable statement after '{.noReturn.}' proc"
errormsg: "unreachable statement after 'return' statement or '{.noReturn.}' proc"
"""
# no statement after return
proc main() =