https://issues.dlang.org/show_bug.cgi?id=23154
--- Comment #4 from Jan Jurzitza <[email protected]> --- nvm, actually reproduces with ldc as well, so more likely a frontend bug: ldc2 -main -c -unittest -I. foo.d -of foo.o ldc2 -lib -ofprotocol.a protocol.d dmd -oftestlib foo.o protocol.a For some reason ldc generated extra objects which I accidentally used instead, which were the wrong symbols and didn't cause this linker error. --
