Created attachment 1370 [details] bugfix this code segfaults current DMD: module zzz; class A { static Object obj = void; } but it works without "= void". bugfix attached.
PR is here: https://github.com/D-Programming-Language/dmd/pull/3802
Pull request was merged: https://github.com/D-Programming-Language/dmd/commit/b4335c9d3eae1640d42e152894b2b9ec95d5828d