https://issues.dlang.org/show_bug.cgi?id=18642
--- Comment #9 from Rainer Schuetze <r.sagita...@gmx.de> --- That was dmd 2.071 from 2016, with rather fresh support for -m32mscoff. I don't think it's worth investigating what the issue was back then. dmd 2.072 produces a working exe. --