D-Programming-Language/dmd — pull request #2495 by donc (2013-08-22 19:44:59+00:00)
Title: 10610 ICE with CTFE after failed template

This is an error propagation bug. Class.staticmember should become
an ErrorExp, if Class was a failed template instantiation.

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