blob: ee5c0eae07b83e0950bf0de4901c21046af6a3a7 [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ doesn't deal with friends also being derived classes.
class A {
int i;
friend class B;
};
class B : public A {
void f () { i = 1; }
};