xref: /PHP-7.2/ext/gd/tests/bug76041.phpt (revision d83467d7)
1--TEST--
2Bug #76041 (null pointer access crashed php)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip gd extension not available');
6?>
7--FILE--
8<?php
9$im=imagecreate(100, 100);
10imageantialias($im, true);
11imageline($im, 0, 0, 10, 10, 0xffffff);
12?>
13===DONE===
14--EXPECT--
15===DONE===
16