[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/16706] [3.4/3.5 Regression] ICE in finish_member_declaration, at cp/semantics.c:2126



------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-26 03:18 -------
Here's something slightly smaller:

===============================================================
template<typename> struct A 
{
    A();
    template<typename> struct X {};
};

template<typename T> struct B
{
    typename A<T>::template X<int> x;
    template<typename> struct C;
};

template<typename T> template<typename U> struct B<T>::C<U*>
{
    C() {}
    A<int> a;
};

template struct B<int>::C<int*>;
===============================================================

Note that the ICE in Wolfgang's and this example happens in a different
place than the original example.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16706

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: