------- Comment #3 from manu at gcc dot gnu dot org  2008-02-17 21:56 -------
And the message:

foo.cc:16: error: expected ';' before 'baz2'

is just broken. What does

typedef foo<sizeof(T)>::unsigned_t;

is supposed to mean?

It is obvious that something went wrong here.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2008-02-17 21:52:13         |2008-02-17 21:56:28
               date|                            |
            Summary|template accepting numeric  |bad error recovery with
                   |fails with sizeof           |missing typename


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

Reply via email to