xref: /PHP-7.4/Zend/tests/try/try_finally_011.phpt (revision 25d327e5)
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