This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21425] New: typeof with parens rejected
- From: "sstrasser at systemhaus-gruppe dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2005 18:52:51 -0000
- Subject: [Bug c++/21425] New: typeof with parens rejected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
one might argue that this isn't a bug because it isn't in std but it looks
inconsistent, so I let you decide:
int a; // ok
int (b); // ok
typeof(a) c; // ok
typeof(a) (d) // error
--
Summary: typeof with parens rejected
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sstrasser at systemhaus-gruppe dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21425