The code below generates the error "void initializer has no value" which is a bit unclear. (I'm entering this bug only because I've fixed it in another patch). ===== int gar() { ArrayRet z = void; ArrayRet w = z; z.x += 2; return z.x; } static assert(gar()==2);
Patched in bug 3901.
Fixed DMD1.058 and DMD2.042.