1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* Test case from PR middle-end/10472 */ extern void f (char *); void foo (char *s) { f (__builtin_stpcpy (s, "hi")); } void bar (char *s) { f (__builtin_mempcpy (s, "hi", 3)); }