summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/libgd-src/tests/tga/bug00247.c
blob: 49b1610cc0fea13aa2c1d54a6162ec6be5b57c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

#include "gd.h"
#include "gdtest.h"

int main()
{
    gdImagePtr im;
    FILE *fp = gdTestFileOpen("tga/bug00247.tga");
    im = gdImageCreateFromTga(fp);
    gdTestAssert(im == NULL);
    fclose(fp);
    return gdNumFailures();
}