This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/21425] typeof with parens rejected



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]