https://issues.dlang.org/show_bug.cgi?id=21625 --- Comment #3 from Max Samukha <maxsamukha at gmail.com> --- I've tried the latest dmd, and it does detect the name conflict. Older versions (v2.092.1 in our case) produce runnable binaries (linker warns about changed symbol size, though). --