xref: /PHP-7.4/ext/gd/tests/bug37346.phpt (revision 26dfce7f)
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(__DIR__ . '/bug37346.gif');
10?>
11--EXPECTF--
12Warning: imagecreatefromgif(): '%sbug37346.gif' is not a valid GIF file in %sbug37346.php on line %d
13