xref: /PHP-7.1/ext/gd/tests/bug37346.phpt (revision 70650810)
1--TEST--
2Bug #37346 (gdimagecreatefromgif, bad colormap)
3--SKIPIF--
4<?php
5	if (!extension_loaded('gd')) die("skip gd extension not available\n");
6?>
7--FILE--
8<?php
9$im = imagecreatefromgif(dirname(__FILE__) . '/bug37346.gif');
10?>
11--EXPECTF--
12Warning: imagecreatefromgif(): '%sbug37346.gif' is not a valid GIF file in %sbug37346.php on line %d
13