xref: /PHP-5.6/Zend/tests/try_finally_011.phpt (revision 9ce1a36a)
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: Cannot break/continue 1 level in %stry_finally_011.php on line %d
16