xref: /PHP-5.6/ext/gd/tests/bug69024.phpt (revision fa53d846)
1--TEST--
2Bug #69024 (imagescale segfault with palette based image)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip gd extension not available');
6?>
7--FILE--
8<?php
9$im = imagecreate(256, 256);
10imagescale($im, 32, 32, IMG_BICUBIC);
11imagedestroy($im);
12echo "done\n";
13?>
14--EXPECT--
15done
16