1--TEST--
2imagepalettetotruecollor must return an error if no resource is given
3--CREDITS--
4Carlos André Ferrari <caferrari [at] gmail [dot] com>
5--SKIPIF--
6<?php
7    if (!extension_loaded('gd')) die("skip gd extension not available.");
8?>
9--FILE--
10<?php
11imagepalettetotruecolor();
12?>
13--EXPECTF--
14Warning: imagepalettetotruecolor() expects exactly 1 parameter, 0 given in %s on line %d
15