summaryrefslogtreecommitdiff
path: root/regress/gnu/egcs/gcc-bounds/memcpy-3.c
blob: 7807e02c6f709e2a9a9d70cae25c92aa1d36671b (plain)
1
2
3
4
5
6
7
8
#include <string.h>

int main(int argc, char **argv) {
	char buf[4];
	char buf2[8] = "1234567";
	memcpy(buf, buf2, sizeof buf2);
	return 1;
}