(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
lookup/
crash4.C
// { 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);
  };
};