Commit 0486d4a1 by Martin v. Löwis

New test case.

From-SVN: r28672
parent 155d38c0
// 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
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment