Files
Nim/tests/accept/run/tfinally.nim
2010-02-26 01:26:16 +01:00

11 lines
140 B
Nim
Executable File

# Test return in try statement:
proc main: int =
try:
return 1
finally:
echo "came here"
discard main() #OUT came here