blob: 65686512a9d097e8db0f6bbada4ac4af50fadea6 [file] [log] [blame]
// { dg-do compile }
//
// PR 3761
struct A {};
struct B {};
template <class T>
struct Foo : A, B
{
void func(void);
struct Nested
{
friend void Foo::func(void);
};
};