blob: f6780a4bfa662a9c2363f3b4de94141397f36764 [file] [log] [blame]
/* PR c++/32111 */
/* This used to ICE. */
/* { dg-do compile } */
struct A
{
friend A::~A() {} /* { dg-error "3:member functions are implicitly friends of their class" } */
};