www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - overloaded inner functions

This code:

int main()
{
void fn( int x ) {}
void fn() {}
return 0;
}

produces this message:

declaration main.fn is already defined
Jul 19 2004