Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41573.c
blob52961db8f2214fecac39d40e481fe1b655812137
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 __inline __attribute__ ((__always_inline__)) char *
4 strcpy (char *__dest, __const char *__src)
6 return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
9 const char* get_attr(unsigned attr)
11 static char tmp[256];
13 strcpy(tmp, "");
14 return tmp;