xref: /php-src/Zend/tests/jump/jump09.phpt (revision 275f63e7)
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