summaryrefslogtreecommitdiff
path: root/src/tests/test1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test1.c')
-rw-r--r--src/tests/test1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/test1.c b/src/tests/test1.c
new file mode 100644
index 0000000..1c2f886
--- /dev/null
+++ b/src/tests/test1.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <aplwc.h>
+
+int
+main(int argc, char *argv[])
+{
+ APLWCFunctions fns;
+ aplwc_init_fns(&fns);
+ APLWC *aplwc = aplwc_init(&fns, NULL);
+ exit(aplwc ? EXIT_SUCCESS : EXIT_FAILURE);
+}