https://issues.dlang.org/show_bug.cgi?id=20102 --- Comment #3 from Igor <kravchuk3571 at gmail.com> --- based on DMD v2.078.3 and LLVM 5.0.1 File main.d: import std.stdio; void main() { writeln("hw"); } $ ldc2 main.d The resulting executable file has no problems. --