https://issues.dlang.org/show_bug.cgi?id=14933
--- Comment #2 from Kenji Hara <[email protected]> --- `pragma(mangle)` is intended to affect the name of symbols those have linkable data. In plain old "compile and link" model, only functions and variables can have symbol names in link-time (function is a named collection of cpu instructions, and variable is a named data). Templates, template instances, and any user defined types (struct, class, union, and interface) - the scoped symbols in D have no linkable data, because they're just compile-time entity. That's why it affects only functions and variables. --
