Commit baf7e33b by Jason Merrill

pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.

        * pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

From-SVN: r35498
parent 39c1728e
// Bug: We were complaining about explicit instantiation of A<T>::B.
// Build don't link:
template <class T>
struct A
{
public:
~A() { };
class B;
};
class A<int>::B { };
template class A<int>;
template class A<double>;
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