This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc-3.0.4: ICE during template instantiation


Hi!

Maybe the following problem is already solved in gcc-3.1,
I just haven't the time to check it.




// trying to get it right like in big example

template<class T> class D {};

template<class T> class C;
template<class T> class C<D<T> > {

  template <class T2, int I = -1>
  struct R {};
};


D<int> i;

int main() {
  C<D<int> > test;
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]