diff options
Diffstat (limited to 'tests/007/except-2.txr')
-rw-r--r-- | tests/007/except-2.txr | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/007/except-2.txr b/tests/007/except-2.txr new file mode 100644 index 00000000..b18f6c1c --- /dev/null +++ b/tests/007/except-2.txr @@ -0,0 +1,19 @@ +@(try) +@(try) +@(bind a "b") +@(throw e "a") +@(catch e (x)) +@(output) +caught @x +@(end) +@(throw e "b") +@(finally) +@(output) +cleanup +@(end) +@(end) +@(catch e (x)) +@(output) +caught @x +@(end) +@(end) |