This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]