summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/using10.C
blob: 8f0cbda2a8881f5841a7e339ca5b0c70ef203761 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/22136

struct B { 
  void foo(); 
}; 
 
template <typename T> class I : public B {}; 
 
template <typename T> class D : private I<T> { 
  I<T>::B::foo; 
};