This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11912] [3.4 regression] scope in declarations
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2003 11:39:04 -0000
- Subject: [Bug c++/11912] [3.4 regression] scope in declarations
- References: <20030814013659.11912.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11912
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-08-16 11:39 -------
Not a bug according to 3.3.1p1:
The point of declaration for a name is immediately after
its complete declarator (clause 8) and before its initializer
(if any), ...
Here initializer is '(selection())' according to the
syntax given by 8.5p1.