2 // { dg-options "-fprofile-generate" }
4 // GCC used to ICE with some EH edge missing.
6 inline void* operator new(__SIZE_TYPE__, void* p) throw() { return p; }
7 inline void operator delete (void*, void*) throw() { }
9 template<typename T> void foo(void* p, T t)
16 template<typename T> struct A
20 A() { try { foo(p, T()); } catch(...) {} }
22 A(const A&) { try { bar(); } catch(...) { throw; } }