template<class T> struct A{
        typedef int *B;
};

template<class T>
void A<T>::B::C(){}

test.cpp:6: internal compiler error: in is_ancestor, at cp/name-lookup.c:2292


-- 
           Summary: ICE on trying to use a typedef as a nested class
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sstrasser at systemhaus-gruppe dot de


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

Reply via email to