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

static char src[] = "hello";

int main(void) {
	calt_memmove(src, src, sizeof(src));
	return calt_memcmp(src, "hello", sizeof(src)) == 0 ? 0 : 1;
}