https://issues.dlang.org/show_bug.cgi?id=14272 --- Comment #2 from Nicolas Sicard <dransic at gmail.com> --- Right. Both codes are invalid, aren't they? If you remove int after enum in both of them, there's a forward reference error, which seems logical. --