tstatret.nim 251 B

12345678910
  1. discard """
  2. nimout: '''
  3. tstatret.nim(9, 7) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
  4. '''
  5. """
  6. # no statement after return
  7. proc main() =
  8. return
  9. echo("huch?") #ERROR_MSG statement not allowed after