Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / Wrestrict-21.c
blobe300663758e42dea470cba6437a78e4177ae65f1
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wrestrict" } */
4 static char *
5 str_numth(char *dest, char *num, int type)
7 if (dest != num)
8 __builtin_strcpy(dest, num); /* { dg-bogus "is the same" } */
9 __builtin_strcat(dest, "foo");
10 return dest;
13 void
14 DCH_to_char(char *in, char *out, int collid)
16 char *s = out;
17 str_numth(s, s, 42);