D-Programming-Language/dmd — pull request #1907 by donc (2013-04-18 08:24:51+00:00)
Title: 9921: Enum variables of type void should be illegal

Sounds like a trivial accepts-invalid bug, but the fix is necessary for my CTFE refactoring.

The important part of this pull request is to avoid calculating min and max for an enum with an erroneous base type, because in that case it was sending garbage to the CTFE engine.