1// { dg-do compile }
2
3struct H2 { int f (); };
4struct J2 : H2
5{
6  struct f {};
7  using H2::f;
8};
9