aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/using31.C
blob: 3b1f6e90e10459c3d48ecf18039f6b9b2714708c (plain)
1
2
3
4
5
6
7
8
// { dg-do compile }

struct H2 { int f (); };
struct J2 : H2
{
  struct f {};
  using H2::f;
};