[Bug c++/21960] Incorrect Syntax NOT rejected
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 8 14:18:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-08 14:18 -------
THis is valid code as comma is an operator.
a, b; is valid for all expressions, a and b. Since return is a statement and not an expression we get an
error for that case.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21960
More information about the Gcc-bugs
mailing list