aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/using2.C
blob: 2924498e35a1e67f6aef9e85ad0beb1450475e83 (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link:
struct X{
  void f();        
};

struct Y:X{
  void f(int);
  void f();         // ERROR - conflict
  using X::f;
};                  // ERROR -