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

int main(int argc, char **argv) {
	char buf[10];
	strlcpy(buf, "foo", sizeof buf);
	return 1;
}