xref: /php-src/Zend/tests/try/try_finally_011.phpt (revision f8d79582)
1--TEST--
2Try finally (segfault with empty break)
3--FILE--
4<?php
5function foo () {
6    try {
7        break;
8    } finally {
9    }
10}
11
12foo();
13?>
14--EXPECTF--
15Fatal error: 'break' not in the 'loop' or 'switch' context in %stry_finally_011.php on line %d
16