This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-3.0.4: ICE during template instantiation
- From: Markus Werle <numerical dot simulation at web dot de>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Apr 2002 15:07:50 +0200
- Subject: 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;
}