summaryrefslogtreecommitdiffstats
path: root/src/gnutls-test.c
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2011-09-03 14:40:19 (GMT)
committerTony Theodore <tonyt@logyst.com>2011-09-03 14:40:19 (GMT)
commit6050d64bce6a63fbce40d039f0de61372ad60e12 (patch)
treeaa658e04df6f280e2491cf1f7eaf7347af2c4192 /src/gnutls-test.c
parent8674d110c57fb4ac521abeb988bcf11de4d9628a (diff)
downloadmxe-6050d64bce6a63fbce40d039f0de61372ad60e12.zip
mxe-6050d64bce6a63fbce40d039f0de61372ad60e12.tar.gz
mxe-6050d64bce6a63fbce40d039f0de61372ad60e12.tar.bz2
package gnutls: add test program
Diffstat (limited to 'src/gnutls-test.c')
-rw-r--r--src/gnutls-test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gnutls-test.c b/src/gnutls-test.c
new file mode 100644
index 0000000..06ebb39
--- /dev/null
+++ b/src/gnutls-test.c
@@ -0,0 +1,16 @@
+/* This file is part of mingw-cross-env. */
+/* See doc/index.html for further information. */
+
+#include <gnutls/gnutls.h>
+
+int main(int argc, char *argv[])
+{
+ (void)argc;
+ (void)argv;
+
+ gnutls_global_init ();
+
+ gnutls_global_deinit ();
+
+ return 0;
+}