mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add test for GH-15909 (fixed by previous IR update)
This commit is contained in:
parent
718cff9bbb
commit
36dfe634b0
1 changed files with 16 additions and 0 deletions
16
ext/opcache/tests/jit/gh15909.phpt
Normal file
16
ext/opcache/tests/jit/gh15909.phpt
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
--TEST--
|
||||||
|
GH-15909 (Core dumped in Core dumped in ext/opcache/jit/ir/ir_cfg.c)
|
||||||
|
--EXTENSIONS--
|
||||||
|
opcache
|
||||||
|
--INI--
|
||||||
|
opcache.jit=1001
|
||||||
|
opcache.jit_buffer_size=64M
|
||||||
|
--FILE--
|
||||||
|
<?php
|
||||||
|
function foo() {
|
||||||
|
for(;x;)for(;$fusion=1;);
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
DONE
|
||||||
|
--EXPECT--
|
||||||
|
DONE
|
Loading…
Add table
Add a link
Reference in a new issue