(x)
| 136 | |
| 137 | |
| 138 | function break_from_catch(x) { |
| 139 | x--; |
| 140 | L: |
| 141 | { |
| 142 | try { |
| 143 | x++; |
| 144 | if (false) return -1; |
| 145 | break L; |
| 146 | } catch (o) { |
| 147 | x--; |
| 148 | } |
| 149 | } |
| 150 | return x; |
| 151 | } |
| 152 | |
| 153 | assertEquals(0, break_from_catch(0)); |
| 154 | assertEquals(1, break_from_catch(1)); |