2016-03-13 13:35:51 +01:00
|
|
|
#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. */
|
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;
|
|
|
|
}
|