>The problem never was to do with mangling symbols declarated with extern(C++) in the frontend.

Ok. Can you consider validity of returning C++ _mangled_ name with `.mangleof`?

>C, Pascal, and stdcall do not have any mangling scheme that's required to be defined by the front end. If you wish to define a mangling convention for C, Pascal and stdcall to be included in D, this raise a DIP and request a new feature.

Ok. I've done it to consistency with D and C++ mangle. This issue does not worry me much. If no one will support me in this begins I'll revert it, but I think, this solution is so pretty and help to remove some switch-case construction (I think, this is a good indicator.)