https://issues.dlang.org/show_bug.cgi?id=20029
Issue ID: 20029
Summary: Wrong MSVC mangling for const class template arguments
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
On Posix systems the mangling is correct.
MSVC mangling is not correct (it can't be parsed by demanglers).
-------------
module ee;
extern(C++):
class C {}
struct S(T) {}
void bar(S!(const C)) {}
pragma(msg, bar.mangleof);
-------------
--