blob: be3c3a084525a9e73420188751a5d9c033d4f9bc [file] [log] [blame]
// PR c++/33843
struct A {};
void foo(A* p())
{
p->A::~A(); // { dg-error "A::~A" }
}