summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/09622-Issue_3356.c
blob: 7f1e028270b98e9a1e8eb7b40504fa0c882424a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR middle-end/46360 */

__attribute__((gnu_inline, always_inline)) extern inline char *
strncpy (char *dest, const char *src, SIZE_TYPE len)
{
	return __builtin_strncpy (dest, src, len);
}

void
foo (char *s)
{
	strncpy (s, "", 0);
}