got rid of 'accept' dir in the tests

This commit is contained in:
Araq 2011-11-19 15:45:51 +01:00
commit a274f3bf5b
264 changed files with 5 additions and 7 deletions

21
tests/run/tfinally.nim Executable file
View file

@ -0,0 +1,21 @@
discard """
file: "tfinally.nim"
output: "came here 3"
"""
# Test return in try statement:
proc main: int =
try:
try:
return 1
finally:
stdout.write("came ")
return 2
finally:
stdout.write("here ")
return 3
echo main() #OUT came here 3