xref: /openbsd-src/regress/gnu/egcs/gcc-bounds/strlcpy-5.c (revision 3caf9e4f131048624709282fc1e8006a32cd1c45)
1 #include <stdio.h>
2 #include <string.h>
3 
main(int argc,char ** argv)4 int main(int argc, char **argv) {
5 	char buf[10];
6 	char *buf2;
7 	strlcpy(buf, "foo", sizeof buf2);
8 	return 1;
9 }
10