mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 10:22:15 +00:00
13 lines
200 B
Nim
13 lines
200 B
Nim
discard """
|
|
file: "tstatret.nim"
|
|
line: 9
|
|
errormsg: "statement not allowed after"
|
|
"""
|
|
# no statement after return
|
|
proc main() =
|
|
return
|
|
echo("huch?") #ERROR_MSG statement not allowed after
|
|
|
|
|
|
|