blob: fc532707451e02bea811a67c3bc6211dc065d7ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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;
}
|