1/* PR middle-end/46360 */
2
3__attribute__((gnu_inline, always_inline)) extern inline char *
4strncpy (char *dest, const char *src, __SIZE_TYPE__ len)
5{
6  return __builtin_strncpy (dest, src, len);
7}
8
9void
10foo (char *s)
11{
12  strncpy (s, "", 0);
13}
14