// { dg-do compile } // Origin: Volker Reichelt // PR c++/12102 struct A { struct C {} C; }; struct B : A { struct C {} C; };