That's as designed. Declaring a variable to be a function makes no sense. You can declare it to be a pointer to a function, though. You can also declare it to be an alias of a function.
Comment #2 by wbaxter — 2006-11-30T02:10:37Z
(In reply to comment #1)
> That's as designed. Declaring a variable to be a function makes no sense. You
> can declare it to be a pointer to a function, though. You can also declare it
> to be an alias of a function.
>
I think the point of the bug is that because it's invalid to set a variable to a function, this should be interpreted as a function call, and thus make x an int with value 0.