(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.other/
lookup12.C
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

struct B {
  struct X {};
};


struct D : public B {
  void X();

  struct X x;

  void f();
};


void D::f() 
{
  struct X y;
}