xref: /PHP-7.1/Zend/tests/jump09.phpt (revision 610c7fbe)
1--TEST--
2jump 09: goto into switch (backward)
3--FILE--
4<?php
5switch (0) {
6	case 1:
7		L1: echo "bug\n";
8		break;
9}
10goto L1;
11?>
12--EXPECTF--
13Fatal error: 'goto' into loop or switch statement is disallowed in %sjump09.php on line 7
14