D-Programming-Language/dmd — pull request #1732 by AndrejMitrovic (2013-03-10 05:55:46+00:00)
Title: Issue 9680 - Print main function and location in verbose mode.

http://d.puremagic.com/issues/show_bug.cgi?id=9680

Someone who is a shell-wizz should probably try to figure out how to write a test-case for this. Here's the distinct 3 test-cases it should run against:

```D
void main() { }
```

```D
import core.sys.windows.windows;
extern(Windows)
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow)
{
return 0;
}
```

```D
import core.sys.windows.windows;
extern (Windows)
BOOL DllMain(HINSTANCE hInstance, ULONG ulReason, LPVOID pvReserved)
{
return 0;
}
```