Crash on static ctor? $ cat main.d void main(){} $ dmd main.d $ ./main Segmentation fault $ cat crash.d import std.c.stdio; shared static this () { fprintf(stderr,"shared static this ()\n"); } shared static ~this () { fprintf(stderr,"shared static ~this ()\n");} static this () { fprintf(stderr,"static this ()\n"); } static ~this () { fprintf(stderr,"static ~this ()\n"); } void main(){ fprintf(stderr,"ok\n"); } $ dmd crash.d $ ./crash shared static this () Segmentation fault $
Is this the same as bug 3428?
Can't reproduce with DMD 2.046.