[Bug c++/9849] Missing keyword 'template' produces ICE with no diagnostic on 3.3 (and unreadable diagnostic on 3.4)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 28 07:45:00 GMT 2003


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-28 07:45 -------
It is even worse now:
pr9849.cc:8: error: variable or field `foo' declared void
pr9849.cc:8: error: template declaration of `int foo'
pr9849.cc:8: error: expected `('
pr9849.cc:8: error: expected primary-expression
pr9849.cc:8: error: `::Type' has not been declared
pr9849.cc:8: error: expected primary-expression
pr9849.cc:8: error: expected `;'

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
   Last reconfirmed|2003-08-02 18:25:12         |2003-11-28 07:45:54
               date|                            |


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



More information about the Gcc-bugs mailing list