]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.old-deja/g++.pt/lookup2.C
g++-dg.exp (g++-dg-test): Add "repo" option.
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / lookup2.C
1 // { dg-do assemble }
2 // { dg-options "" }
3
4 class A
5 {
6 protected:
7 void f1() {};
8 };
9
10 template <class T> class B : private A {
11 protected:
12 using A::f1;
13 };
14
15 template <class T> class D : private B<T>
16 {
17 public:
18 void f2() { f1(); };
19 };
20