mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Forgot to commit test file...
This commit is contained in:
parent
6f950e83eb
commit
6e23f2bceb
1 changed files with 16 additions and 0 deletions
16
ext/opcache/tests/jmpz_jmp_elim.phpt
Normal file
16
ext/opcache/tests/jmpz_jmp_elim.phpt
Normal file
|
@ -0,0 +1,16 @@
|
|||
--TEST--
|
||||
Edge-cases in elimination of JMPZ JMP with same target
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
$foo = "foo";
|
||||
if ($foo . "bar") { goto label; }
|
||||
label:
|
||||
if ($undef) { goto label2; }
|
||||
label2:
|
||||
echo "done\n";
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
Notice: Undefined variable: undef in %s on line %d
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue