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

static char const buf[] = "test";

int main(void) { return calt_memchr(buf, 't', sizeof buf) == &buf[0] ? 0 : 1; }