overloaded extern(C) called without error

"Luís "Luís
Tue Sep 10 07:04:56 PDT 2013


I know that extern(C) functions cannot be legally overloaded, but 
not issuing an error in the following situation seems wrong / a 
bug:

     extern(C) void foo(int);
     extern(C) void foo() {}

     void main()
     {
         foo(42);
     }


More information about the Digitalmars-d mailing list