blob: 30b651326aa34787f86e6db914a6a328b51bed26 [file] [log] [blame]
// PR c++/28267
// { dg-do compile }
struct A
{
A();
void* operator new(__SIZE_TYPE__, int = X); // { dg-error "not declared" }
void operator delete(void*, int);
};
void foo()
{
new A;
}