This program: import std.stdio; enum Foo : char { A = 'a' } void main() { Foo[] array = new Foo[5]; writeln(array); } Prints this correct output with DMD 2.057head: [A, A, A, A, A] But with this very similar program: void main() { enum Foo : char { A = 'a' } Foo[] array = new Foo[5]; } the linker gives: Error 42: Symbol Undefined _Dmain3Foo6__initZ
Resolved in git-head. There was another nested enum linker issue that was recently fixed.