1 // operator new(unsigned)
2 // operator new[](unsigned)
3 // operator new(unsigned, std::nothrow_t const&)
4 // operator new[](unsigned, std::nothrow_t const&)
12 // A big structure. Its details don't matter.
17 __attribute__((noinline
)) void* operator new (std::size_t n
) throw (std::bad_alloc
)
22 __attribute__((noinline
)) void* operator new (std::size_t n
, std::nothrow_t
const &) throw ()
27 __attribute__((noinline
)) void* operator new[] (std::size_t n
) throw (std::bad_alloc
)
32 __attribute__((noinline
)) void* operator new[] (std::size_t n
, std::nothrow_t
const &) throw ()
37 __attribute__((noinline
)) void operator delete (void* p
) throw()
42 __attribute__((noinline
)) void operator delete[] (void* p
) throw()
50 s
* p2
= new (std::nothrow
) s
;
51 char* c1
= new char[2000];
52 char* c2
= new (std::nothrow
) char[2000];