FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename23.C
blob5bdbe6fd61c062c8be503eb75d80383dda9c5cb9
1 // Build don't link:
2 template<class T>
3 void value_type(T){}
5 template <class T>
6 struct B{
7   typedef T value_type;
8 };
10 template<class>class Vector{};
12 template<class T>
13 struct D:B<T>{
14   Vector<value_type> r;  // ERROR - value_type is not a type