https://issues.dlang.org/show_bug.cgi?id=17449 --- Comment #6 from Rainer Schuetze <r.sagitario at gmx.de> --- > Adding more @safe Makes it compile and run successfully. Your safe code also fails with -dip1000. (tried on Windows/OMF). --