blob: fc532707451e02bea811a67c3bc6211dc065d7ff [file] [log] [blame]
// PR c++/15890
template < typename T >
void operator delete ( void* raw ) { // { dg-error "" }
delete raw;
}
class A { };
int main() {
A* a = new A;
delete a;
}