[Bug c++/21425] typeof with parens rejected
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 25 21:54:00 GMT 2008
------- Comment #1 from tkoenig at gcc dot gnu dot org 2008-12-25 21:52 -------
This works now:
$ cat foo.c
int a; // ok
int (b); // ok
typeof(a) c; // ok
typeof(a) (d); // error
$ gcc -S foo.c
$ gcc-4.3 -S foo.c
$ gcc-4.2 -S foo.c
(may originally have been caused by the missing semicolon, or
this might have been a cut+paste error)
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21425
More information about the Gcc-bugs
mailing list