ICE 980422 - member class template template template parameter
Hyman Rosen
hymie@prolifics.com
Wed May 31 08:54:00 GMT 2000
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
}
More information about the Gcc-bugs
mailing list