mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Add test for GH-15909 (fixed by previous IR update)
This commit is contained in:
parent
718cff9bbb
commit
36dfe634b0
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…
Reference in New Issue
Block a user