Nim/tests/tstatret.nim
Andreas Rumpf 8b2a9401a1 version 0.7.0
2008-11-16 22:08:15 +01:00

5 lines
112 B
Nim

# no statement after return
proc main() =
return
echo("huch?") #ERROR_MSG statement not allowed after