xref: /PHP-8.0/ext/opcache/tests/jit/bug80782.phpt (revision b7fa5268)
1--TEST--
2Bug #80782 (DASM_S_RANGE_VREG on PHP_INT_MIN-1)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit=tracing
8opcache.jit_buffer_size=1M
9opcache.protect_memory=1
10--SKIPIF--
11<?php require_once('skipif.inc'); ?>
12--FILE--
13<?php
14define('LONG_MIN', PHP_INT_MIN);
15var_dump(LONG_MIN-1);
16?>
17--EXPECTF--
18float(%s)
19