https://issues.dlang.org/show_bug.cgi?id=18385
--- Comment #6 from Jacob Carlborg <d...@me.com> --- (In reply to Martin Nowak from comment #3) > So you're bug report is about > > cat > bug.d << CODE > struct S > { > extern(C) static void foo(int) {} > extern(C) static void foo(double) {} > } > CODE > dmd -c bug.d > ---- > Error: function bug.S.foo(double) cannot be overloaded with another > extern(C) function at /home/dawg/Code/D/bug.d(3) > ---- > > instead > ? Yes, I actually have a class. I just tried to reduce the test case as much as possible. --