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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-04-24
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-24 
11:26:58 UTC ---
4.4 rejects it with:
t.cc:8: error: using 'typename' outside of template

But later releases silently accept it in c++98 or c++11 mode

(N.B. using 'typenme' outside of templates is valid in C++11)

Reply via email to