diff options
Diffstat (limited to 'tests/controlflow/tstatret.nim')
-rw-r--r-- | tests/controlflow/tstatret.nim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/controlflow/tstatret.nim b/tests/controlflow/tstatret.nim index bf90255a0..d655f5595 100644 --- a/tests/controlflow/tstatret.nim +++ b/tests/controlflow/tstatret.nim @@ -3,10 +3,10 @@ discard """ line: 9 errormsg: "statement not allowed after" """ -# no statement after return -proc main() = - return - echo("huch?") #ERROR_MSG statement not allowed after - +# no statement after return +proc main() = + return + echo("huch?") #ERROR_MSG statement not allowed after + |