aboutsummaryrefslogtreecommitdiffstats
path: root/encalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'encalloc.c')
-rw-r--r--encalloc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/encalloc.c b/encalloc.c
index 34d8856..1277d7b 100644
--- a/encalloc.c
+++ b/encalloc.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_encalloc(int status, size_t n, size_t m) /* TODO test */
}
return ret;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif