7 void* operator new(std::size_t = 32) throw (std::bad_alloc); // { dg-error "first parameter" }
8 void* operator new[](std::size_t = 32) throw (std::bad_alloc); // { dg-error "first parameter" }
9 void* operator new(std::size_t = 32, const std::nothrow_t&) throw(); // { dg-error "first parameter" }
10 void* operator new[](std::size_t = 32, const std::nothrow_t&) throw(); // { dg-error "first parameter" }
16 void* operator new(std::size_t,
17 const std::nothrow_t& = std::nothrow_t()) throw();
18 void* operator new[](std::size_t,
19 const std::nothrow_t& = std::nothrow_t()) throw();
25 void* operator new(std::size_t = 0,
26 const std::nothrow_t& = std::nothrow_t()) throw(); // { dg-error "first parameter" }
27 void* operator new[](std::size_t = 0,
28 const std::nothrow_t& = std::nothrow_t()) throw(); // { dg-error "first parameter" }