Sign in
cmake
/
cmake
/
39e5a4da220c1ddcd73d74d26ed55a7418add215
/
.
/
Tests
/
FindTIFF
/
Test
/
main.c
blob: 91826520094ae60eb245a33c8825e3ffb8106db4 [
file
] [
log
] [
blame
]
#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
;
}