https://issues.dlang.org/show_bug.cgi?id=20208 --- Comment #1 from Eduard Staniloiu <edi33416 at gmail.com> --- Forgot to mention. I also tested with gdc-9 and everything works as expected (same result as with ldc). --