blob: 606122e9840ca5d972d7cfd65277e8ebb0b61d7b [file] [log] [blame]
// PR c++/58650
struct A
{
friend int i = 0; // { dg-error "14:.i. is neither function nor member function; cannot be declared friend" }
};