summaryrefslogtreecommitdiffstats
path: root/Tests/FindJPEG/Test/main.c
blob: c6e48f0d643819098a61b6c3d8e52511748e50d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <assert.h>
#include <stdio.h>

#include <jpeglib.h>

int main()
{
  /* Without any JPEG file to open, test that the call fails as
     expected.  This tests that linking worked. */
  struct jpeg_decompress_struct cinfo;
  struct jpeg_error_mgr jerr;
  cinfo.err = jpeg_std_error(&jerr);
  jpeg_create_decompress(&cinfo);

  return 0;
}