D-Programming-Language/dmd — pull request #566 by 9rnsr (2011-12-17 12:45:56+00:00)
Title: Issue 7123 - static assert(is(typeof(toDelegate(&main)))) is false

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