1 /* { dg-do compile } */ 2 new(__SIZE_TYPE__,void * __p)3inline void *operator new (__SIZE_TYPE__, void *__p) throw () 4 { 5 return __p; 6 } 7 struct A 8 { 9 A(int, double); AA10 inline explicit A (int pattern, bool cs) 11 { 12 new (this) A (pattern, double(cs)); 13 } 14 }; test()15A test () 16 { 17 const A a (42, true); 18 return a; 19 } 20