https://issues.dlang.org/show_bug.cgi?id=14327 --- Comment #3 from Szymon Gatner <szymon.gatner at gmail.com> --- (In reply to Vladimir Panteleev from comment #1) > Why are there two main functions? Without main() in D library link errors occur --