------- Comment #5 from reichelt at gcc dot gnu dot org 2006-03-27 11:27 ------- Here are two more reduced testcases. The first ICEs since GCC 3.4.0, the second since at least GCC 2.95.3:
===================================== struct A {}; namespace N { template<int> void foo(); } void bar(A *p) { p->N::foo<0>(); } ===================================== ===================================== struct A {}; namespace N { template<int> void foo(); } void bar(A *p) { p->N::foo<0>; // without parens } ===================================== -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Keywords| |monitored http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26365