summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/using2.C
blob: 92c65eb0b5a8505819f3b31afa2fb09cc8c98319 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
struct X{
  void f();        
};

struct Y:X{
  void f(int);
  void f();
  using X::f;
};