why isn't this supported?

void main(){
    void fun();
    void fun(int x);//Error: declaration fun is already defined
}