1 /* { dg-do compile } */ 2 3 typedef unsigned mytype; 4 5 struct S { 6 mytype *pu; 7 }; 8 f(struct S * e)9 mytype f(struct S *e) 10 { 11 mytype x; 12 if(&x != e->pu) 13 __builtin_memcpy(&x, e->pu, sizeof(unsigned)); 14 return x; 15 } 16