D-Programming-Language/dmd — pull request #2360 by donc (2013-07-19 07:13:29+00:00)
Title: 10452  CTFE: Cannot compare delegates with == or 'is'

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

Delegate expressions weren't being interpreted properly. And delegate comparison wasn't implemented at all.
The tests here cover many more cases than are in the original bug report.