[Bug c++/27494] [4.0/4.1/4.2 regression] ICE on invalid template parameter

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 28 23:20:00 GMT 2006



------- Comment #2 from reichelt at gcc dot gnu dot org  2006-08-28 23:20 -------
Shorter testcase:

=========================================
struct A
{
    template<operator+> void foo() {}
};
=========================================

The original testcase relies on the suboptimal error-recovery for template
parameter lists (see PR28858).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27494



More information about the Gcc-bugs mailing list