summaryrefslogtreecommitdiff
path: root/Build/source/libs/potrace/potracetst.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/potrace/potracetst.c')
-rw-r--r--Build/source/libs/potrace/potracetst.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/libs/potrace/potracetst.c b/Build/source/libs/potrace/potracetst.c
new file mode 100644
index 00000000000..25197c48132
--- /dev/null
+++ b/Build/source/libs/potrace/potracetst.c
@@ -0,0 +1,14 @@
+/* potracetst.c: Basic test for libpotrace
+ *
+ * Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
+ * You may freely use, modify and/or distribute this file.
+ */
+
+#include <stdio.h>
+#include <potracelib.h>
+
+int main (int argc, char **argv)
+{
+ printf ("%s: using %s\n", argv[0], potrace_version ());
+ return 0;
+}