added missing tests
This commit is contained in:
parent
e254741541
commit
bfef392460
13 changed files with 211 additions and 0 deletions
10
tests/tfinally.nim
Executable file
10
tests/tfinally.nim
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
# Test return in try statement:
|
||||
|
||||
proc main: int =
|
||||
try:
|
||||
return 1
|
||||
finally:
|
||||
echo "came here"
|
||||
|
||||
echo main()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue