1 // { dg-do compile } 2 // { dg-additional-options "-g" } 3 4 struct cb { 5 int yr; 6 }; 7 8 void * new(__SIZE_TYPE__,void * nq)9 operator new (__SIZE_TYPE__, void *nq) 10 { 11 return nq; 12 } 13 14 void af(int xn)15 af (int xn) 16 { 17 new (&xn) cb { }; 18 } 19