You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
341 B
17 lines
341 B
#include <fstream>
|
|
|
|
#include <assert.h>
|
|
#include <tiffio.hxx>
|
|
|
|
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);
|
|
|
|
std::ifstream s;
|
|
TIFF* tiffxx = TIFFStreamOpen("invalid.tiff", &s);
|
|
return 0;
|
|
}
|