summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wobjsize-1.h
blob: a879f6db99c6cd9aeaf3e25bff6e67676f04cf0c (plain)
1
2
3
4
5
6
7
8
#pragma GCC system_header

extern __inline __attribute__ ((__always_inline__,__artificial__,__gnu_inline__)) char *
__attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src)
{
  return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}