aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/lookup3.C
blob: 9ada72f87b51ee7d5759c1a397ea0aaf0d87b581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
template<class T>
class A {
public:
  void f() { }
};

class B : public A<int> {
public:
  void f();
};

int main()
{
  B b;
  B& b1 = b;
  b1.A<int>::f();
}