2 /* { dg-require-profiling "-fprofile-generate" } */
3 // { dg-options "-fprofile-generate" }
5 // GCC used to ICE with some EH edge missing.
7 inline void* operator new(__SIZE_TYPE__, void* p) throw() { return p; }
8 inline void operator delete (void*, void*) throw() { }
10 template<typename T> void foo(void* p, T t)
17 template<typename T> struct A
21 A() { try { foo(p, T()); } catch(...) {} }
23 A(const A&) { try { bar(); } catch(...) { throw; } }