blob: 56d994d63df095627c68f6c3a3c83c2a7650a6b7 [file] [log] [blame]
// PR c++/79899
// { dg-do compile }
// { dg-options "-Os" }
struct A
{
friend A::~A() {} // { dg-error "3:member functions are implicitly friends of their class" }
};