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

extern char buf[];

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