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]

ICE 980422 - member class template template template parameter


The following code causes g++ 2.95.2 to get ICE 980422 at the marked lines

template <typename T>	struct A { template <typename U> struct I { }; };
			struct B { template <typename U> struct I { }; };

template <typename T, template <typename> class C> struct Z { C<T> c; };

int main()
{
	Z<int, A<int>::I> za;	// ICE 980422 here
	Z<float, B::I> zb;	// ICE 980422 here
}

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