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]

Re: c++/9621: const int typedef is rejected


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> Please, don't do that!  Is it an error not to accept
> 
>    int const typede T;
> 
> It is an error to reject
> 
>    int typedef T;

Oh, yes, indeed. I was missing that a decl-specifier can also be a
type-specifier. Sorry.

-- 
	Falk


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