aboutsummaryrefslogtreecommitdiffstats
path: root/test/mem/memcmp_same.c
blob: 6881fe7f04eabed261940f271350a4c815677f4a (plain) (blame)
1
2
3
4
5
6
7
8
#include <mem.h>

static char const buf1[] = "hello";
static char const buf2[] = "hello";

int main(void) {
  return calt_memcmp(buf1, buf2, sizeof(buf1)) == 0 ? 0 : 1;
}