blob: e65661cd02704602c0a8d7cdda983ab6d9760d2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
discard """
file: "tfinally3.nim"
output: "false"
"""
# Test break in try statement:
proc main: bool =
while true:
try:
return true
finally:
break
return false
echo main() #OUT false
|