Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/lookup3.C

raw
1 // { dg-do run }
2 template<class T>
3 class A {
4 public:
5 void f() { }
6 };
7
8 class B : public A<int> {
9 public:
10 void f();
11 };
12
13 int main()
14 {
15 B b;
16 B& b1 = b;
17 b1.A<int>::f();
18 }