2 // Reject [de-]allocation functions declared in a namespace, or
6 void* operator new(__SIZE_TYPE__ s, int* p); // { dg-error "namespace" }
7 void operator delete(void*); // { dg-error "namespace" }
10 static void* operator new(__SIZE_TYPE__ s, int* p); // { dg-error "static" }
11 static void operator delete(void*); // { dg-error "static" }