diff options
Diffstat (limited to 'spec/inputs/try_catch.yue')
-rw-r--r-- | spec/inputs/try_catch.yue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/inputs/try_catch.yue b/spec/inputs/try_catch.yue index e38cbef..96a87fc 100644 --- a/spec/inputs/try_catch.yue +++ b/spec/inputs/try_catch.yue | |||
@@ -50,5 +50,11 @@ do | |||
50 | catch err | 50 | catch err |
51 | print err | 51 | print err |
52 | 52 | ||
53 | do | ||
54 | try | ||
55 | func 1, 2, 3 | ||
56 | |||
57 | try func 1, 2, 3 | ||
58 | |||
53 | nil | 59 | nil |
54 | 60 | ||