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

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