c++/9621: const int typedef is rejected

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Sat Feb 8 13:16:00 GMT 2003


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



More information about the Gcc-bugs mailing list