On Wed, 2007-06-27 at 14:33 +0400, Alexey Dobriyan wrote:
> sparse silently accepts some peculiar combinations of declaration
> specifiers:
> 
> "typedef extern;" passes.
> 
> "void char a;" errors about void declaration, however,
> "extern void char a;" passes. Hey, "extern void a;" passes!
> 
> "char short a;" passes too. Ditto for "char float a;" and
> "char long a".
> 
> "typedef inline a;" passes.
> 
> Not sure how many different bugs there are here, though...

Several more:

int;
void;
int *;
void *;
static;
extern;
volatile;
static foo;
extern foo;
volatile foo;
int volatile;

- Josh Triplett


-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to