blob: 2fe0a974bb97e3d48c8b3f7a159cc5b633704013 [file] [log] [blame]
// { dg-do compile }
struct A {};
struct B
{
friend A::~B(); // { dg-error "as member of" }
};