summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/Issue_3356.c
blob: de2dba216c0271522623936ae9a4095f683d9df9 (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);
}