RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr46360.c
blob1a5239bc1a1b10bd9f1b7f3fcc552c14704af1b3
1 /* PR middle-end/46360 */
3 __attribute__((gnu_inline, always_inline)) extern inline char *
4 strncpy (char *dest, const char *src, __SIZE_TYPE__ len)
6 return __builtin_strncpy (dest, src, len);
9 void
10 foo (char *s)
12 strncpy (s, "", 0);