summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/using10.C
blob: 902773cd51d395e147d83c2e9cbfdab4da56d076 (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; // { dg-warning "deprecated" } 
};