aboutsummaryrefslogtreecommitdiffstats
path: root/vasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'vasprintf.c')
-rw-r--r--vasprintf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/vasprintf.c b/vasprintf.c
index 59fb190..9ce1998 100644
--- a/vasprintf.c
+++ b/vasprintf.c
@@ -24,3 +24,15 @@ fail:
*strp = NULL;
return -1;
}
+
+
+#ifdef TEST
+#include <assert.h>
+
+int
+main(void)
+{
+ return 0; /* Tested via libsimple_asprintf */
+}
+
+#endif