(x)
| 308 | |
| 309 | |
| 310 | function continue_from_nested_finally(x) { |
| 311 | var cont = true; |
| 312 | while (cont) { |
| 313 | try { |
| 314 | x++; |
| 315 | try { |
| 316 | x++; |
| 317 | if (false) return -1; |
| 318 | cont = false; |
| 319 | continue; |
| 320 | } finally { |
| 321 | x--; |
| 322 | } |
| 323 | } finally { |
| 324 | x--; |
| 325 | } |
| 326 | x--; // should not happen |
| 327 | } |
| 328 | return x; |
| 329 | } |
| 330 | |
| 331 | assertEquals(0, continue_from_nested_finally(0)); |
| 332 | assertEquals(1, continue_from_nested_finally(1)); |
no outgoing calls
no test coverage detected
searching dependent graphs…