this code makes current gdc 4.9 to ICE and segfault: module zzz; class A { static Object obj = void; } but it works without "= void". p.s. seems that this is fronted fault, as current DMD segfaults too.
Created attachment 71 [details] patch for dfrontend
fix attached.
PR Raised upstream with testcases. https://github.com/D-Programming-Language/dmd/pull/3802 Wanting to get this into 2.066 ASAP.
thank you. i just created ticket in DMD bugzilla, so you can add it to your PR: https://issues.dlang.org/show_bug.cgi?id=13194
fix merged to DMD, so this ticket can be closed i think.
I've added an UPSTREAM tag.