why isn't this supported?void main(){ void fun(); void fun(int x);//Error: declaration fun is already defined }
Don't know, but it hasn't been supported ever. Spec clearly states it's not supported, but not why. I suppose it is not difficult to name it something else?
Note that there are a lot of different rules with nested functions that don't apply to normal functions.
-Steve
