2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using8.C
blob26eb4d3252c769f1d9e97f56ea1459b496b6f069
1 // { dg-do compile }
2 // Origin: Bill Clarke <llib at computer dot org>
3 // PR c++/11097: using declartion for a converter operator to a nested class
4 //  in a base type
6 template <typename T>
7 struct A
9   struct Nested {};
10   operator Nested*();
13 template <typename T>
14 struct B : A<T>
16   using A<T>::operator typename A<T>::Nested*;
19 template struct B<int>;