2 // Test that when a constructor throws in a new-expression, we pass the
3 // right pointer to operator delete.
6 // { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }
13 void * operator new[] (std::size_t s)
14 #if __cplusplus <= 199711L
15 throw (std::bad_alloc)
18 ptr = operator new (s);
22 void operator delete[] (void *p) throw ()