https://issues.dlang.org/show_bug.cgi?id=22020
--- Comment #6 from [email protected] --- I was able to minimize the reproducing code, dub was not involved. app.d: ``` import std.stdio; void main() { auto arr = new byte[10]; writeln(arr); } ``` test.d: ``` module test; struct Test { string msg; } ``` build&run: ``` dmd.exe -lib -of"test.lib" -profile test.d dmd.exe -c -of"app.obj" -profile app.d dmd.exe -of"app.exe" app.obj test.lib app.exe ``` --
