https://issues.dlang.org/show_bug.cgi?id=16479
--- Comment #6 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/beb2a889124e53a6a6cc5218ffc596177b157086 Correct definition of foo15372 in cppa.d In the C++ file it is defined as `template<typename T> int foo15372(int)`, but in the D file the argument was the template type. As template arguments are substituted in mangling, this was not correct and only compiled thanks to bug 16479 --