diff options
Diffstat (limited to 'config.tests/unix/zlib/zlib.cpp')
-rw-r--r-- | config.tests/unix/zlib/zlib.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.tests/unix/zlib/zlib.cpp b/config.tests/unix/zlib/zlib.cpp new file mode 100644 index 0000000000..58a286ffe3 --- /dev/null +++ b/config.tests/unix/zlib/zlib.cpp @@ -0,0 +1,13 @@ +#include <zlib.h> + +int main(int, char **) +{ + z_streamp stream; + stream = 0; + const char *ver = zlibVersion(); + ver = 0; + // compress2 was added in zlib version 1.0.8 + int res = compress2(0, 0, 0, 0, 1); + res = 0; + return 0; +} |