digitalmars.D.bugs - [Issue 20413] New: C++ mangling bug with templates & the std namespace
- d-bugmail puremagic.com (24/24) Nov 21 2019 https://issues.dlang.org/show_bug.cgi?id=20413
https://issues.dlang.org/show_bug.cgi?id=20413 Issue ID: 20413 Summary: C++ mangling bug with templates & the std namespace Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: sahmi.soulaimane gmail.com Test case: ``` extern(C++, "std") struct pair(T1, T2) {} extern(C++) void fun(pair!(int, float), pair!(float, int)); pragma(msg, fun.mangleof); ``` output: _Z3funSt4pairIifENS_IfiEE expected: _Z3funSt4pairIifES_IfiE --
Nov 21 2019