blob: 33030c71ea0222f05e16379095ce2ba852ee2082 [file] [log] [blame]
// { dg-do assemble }
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; // { dg-error "" } value_type is not a type
};