$ cat > a.cc namespace ns { template <typename T> struct struct1: T {}; } void g(void) { ns::struct1(); } $ g++ a.cc a.cc: In function `void g()': a.cc:2: internal error: Segmentation fault
$ g++-3.3 test.cc: In function `void g()': test.cc:2: error: invalid use of `template<class T> struct ns::struct1' no more ICE here