Sign in
fuchsia
/
third_party
/
cmake
/
refs/heads/upstream/master
/
.
/
Tests
/
FindTIFF
/
Test
/
main.c
blob: bce4a3e63f811475952de16f19fcc97336e27b34 [
file
] [
log
] [
blame
]
#include
<assert.h>
#include
<tiffio.h>
int
main
(
void
)
{
/* 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
;
}