summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/memcpy-1.c
blob: 4a4e7509654285c7bcbe1058af8320e92434f5d5 (plain)
1
2
3
4
5
6
7
8
9
static const char OggFLAC__MAPPING_VERSION_MAJOR = 1;
void f(void)
{
  char synthetic_first_packet_body[10];
  char *b = &synthetic_first_packet_body[4];
  __builtin_memcpy (b, &OggFLAC__MAPPING_VERSION_MAJOR, (1u));
}