https://issues.dlang.org/show_bug.cgi?id=14992
Issue ID: 14992 Summary: static array local variables always require .init Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: link-failure Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com //// a.d //// import b; void main() { S[1] arr; } //// b.d //// struct S {} ///////////// This doesn't link: Error 42: Symbol Undefined _D1b1S6__initZ Using individual (non-array) variables of type S, as well as making the array static, seem to fix the linker error. --