Comment #0 by dlang-bugzilla — 2015-09-01T09:28:03Z
//// 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.