New test case.

From-SVN: r28672
This commit is contained in:
Martin v. Löwis 1999-08-11 18:31:38 +00:00
parent 155d38c0e7
commit 0486d4a1b3

View File

@ -0,0 +1,15 @@
// Build don't link:
template<class T>
void value_type(T){}
template <class T>
struct B{
typedef T value_type;
};
template<class>class Vector{};
template<class T>
struct D:B<T>{
Vector<value_type> r; // ERROR - value_type is not a type
};