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