aboutsummaryrefslogtreecommitdiffstats
path: root/enmemdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'enmemdup.c')
-rw-r--r--enmemdup.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/enmemdup.c b/enmemdup.c
index 37f9995..8693af6 100644
--- a/enmemdup.c
+++ b/enmemdup.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
extern char *argv0;
@@ -15,3 +16,15 @@ libsimple_enmemdup(int status, const void *s, size_t n) /* TODO test */
}
return ret;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif