aboutsummaryrefslogtreecommitdiffstats
path: root/test/mem/memlen_overflow.c
blob: 258f2a026968d58eca5ead602e04bc93c1846a5a (plain) (blame)
1
2
3
4
5
#include <mem.h>

static char const buf[] = "Test";

int main(void) { return calt_memlen(buf, '\0', 3) == 3 ? 0 : 1; }