mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Add test for GH-16355 (fixed by previous commit)
This commit is contained in:
19
ext/opcache/tests/jit/gh16355.phpt
Normal file
19
ext/opcache/tests/jit/gh16355.phpt
Normal file
@@ -0,0 +1,19 @@
|
||||
--TEST--
|
||||
GH-16355 (Assertion failure in ext/opcache/jit/ir/ir_ra.c:1139)
|
||||
--EXTENSIONS--
|
||||
opcache
|
||||
--INI--
|
||||
opcache.jit=1203
|
||||
opcache.jit_buffer_size=64M
|
||||
--FILE--
|
||||
<?php
|
||||
function test($in, $cond) {
|
||||
if ($cond) {
|
||||
eval('');
|
||||
}
|
||||
while (stream_bucket_make_writeable($in)) {}
|
||||
}
|
||||
?>
|
||||
DONE
|
||||
--EXPECT--
|
||||
DONE
|
||||
Reference in New Issue
Block a user