diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/controlflow/tstatret.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/controlflow/tstatret.nim b/tests/controlflow/tstatret.nim index e0f816c7d..a3558e6f4 100644 --- a/tests/controlflow/tstatret.nim +++ b/tests/controlflow/tstatret.nim @@ -1,7 +1,7 @@ discard """ - errormsg: "unreachable statement after 'return' statement or '{.noReturn.}' proc" - file: "tstatret.nim" - line: 9 + nimout: ''' +tstatret.nim(9, 7) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode] +''' """ # no statement after return proc main() = |