aboutsummaryrefslogtreecommitdiffstats
path: root/test/mem/memlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mem/memlen.c')
-rw-r--r--test/mem/memlen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/mem/memlen.c b/test/mem/memlen.c
new file mode 100644
index 0000000..1127b2b
--- /dev/null
+++ b/test/mem/memlen.c
@@ -0,0 +1,5 @@
+#include <mem.h>
+
+static char const buf[] = "Test";
+
+int main(void) { return calt_memlen(buf, '\0', sizeof buf) == 4 ? 0 : 1; }