1 /* { dg-do compile } */ 2 3 extern 4 #ifdef __cplusplus 5 "C" 6 #endif 7 void *memcpy (void *, const void *, __SIZE_TYPE__); 8 9 struct S{ 10 long d0, d1, d2, d3, d4, d5, d6; 11 }; 12 13 struct S s[6]; 14 f(struct S * p)15void f(struct S *p) 16 { 17 memcpy(p, &s[2], sizeof(*p)); 18 memcpy(p, &s[1], sizeof(*p)); 19 } 20 21