aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libtls-standalone/test_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libtls-standalone/test_program.c')
-rw-r--r--testing/libtls-standalone/test_program.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/libtls-standalone/test_program.c b/testing/libtls-standalone/test_program.c
new file mode 100644
index 0000000000..f8d7332d72
--- /dev/null
+++ b/testing/libtls-standalone/test_program.c
@@ -0,0 +1,11 @@
+#include <stdlib.h>
+#include <assert.h>
+#include <tls.h>
+
+int
+main(int argc, const char *argv[])
+{
+ assert(tls_init() == 0);
+
+ return EXIT_SUCCESS;
+}