xref: /php-src/Zend/tests/jump/jump07.phpt (revision 275f63e7)
1--TEST--
2jump 07: goto into loop (backward)
3--FILE--
4<?php
5while (0) {
6    L1: echo "bug\n";
7}
8goto L1;
9?>
10--EXPECTF--
11Fatal error: 'goto' into loop or switch statement is disallowed in %sjump07.php on line 5
12