summaryrefslogtreecommitdiffstats
path: root/Tests/FindTIFF/Test/main.c
blob: fc4f337570014e5fae99f7a183883f65456fff62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <assert.h>
#include <tiffio.h>

int main()
{
  /* Without any TIFF file to open, test that the call fails as
     expected.  This tests that linking worked. */
  TIFF *tiff = TIFFOpen("invalid.tiff", "r");
  assert(!tiff);

  return 0;
}