13 lines
251 B
C
Raw Normal View History

2016-03-13 13:35:51 +01:00
#include <assert.h>
#include <tiffio.h>
2024-04-14 22:45:38 +02:00
int main(void)
2016-03-13 13:35:51 +01:00
{
/* Without any TIFF file to open, test that the call fails as
expected. This tests that linking worked. */
2016-07-09 11:21:54 +02:00
TIFF* tiff = TIFFOpen("invalid.tiff", "r");
2016-03-13 13:35:51 +01:00
assert(!tiff);
return 0;
}