aboutsummaryrefslogtreecommitdiffstats
path: root/pkg-test/qpdf-version.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pkg-test/qpdf-version.cc')
-rw-r--r--pkg-test/qpdf-version.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg-test/qpdf-version.cc b/pkg-test/qpdf-version.cc
new file mode 100644
index 00000000..63fd3308
--- /dev/null
+++ b/pkg-test/qpdf-version.cc
@@ -0,0 +1,7 @@
+#include <qpdf/QPDF.hh>
+#include <iostream>
+
+int main() {
+ std::cout << QPDF::QPDFVersion() << std::endl;
+ return 0;
+}