summaryrefslogtreecommitdiffstats
path: root/Tests/FindTIFF/Test/main.c
blob: 91826520094ae60eb245a33c8825e3ffb8106db4 (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;
}