blob: b7d77ba1405d628528669905736914beab096fcc [file] [log] [blame]
// { dg-do assemble }
// PRMS Id: 6093
class A {
public:
A();
~A();
protected:
void operator delete(void *); // { dg-message "" } protected
};
A::~A()
{
}
void foo(A *p)
{
delete p; // { dg-error "" } in this context
}