------- Additional Comments From falk at debian dot org  2005-05-20 23:20 
-------
(In reply to comment #0)
> If there is a variable declaration as the first statement after the colon at 
> the
> end of a case expression, the compiler returns a syntax error.

That is exactly as expected. After the label, there needs to be a statement,
and declarations are not statements.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to