Forgot to commit test file...

This commit is contained in:
Nikita Popov 2017-04-10 22:26:14 +02:00
parent 6f950e83eb
commit 6e23f2bceb

View 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