https://issues.dlang.org/show_bug.cgi?id=16359
Issue ID: 16359
Summary: Mangling of const static arrays does not match C++
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
The D file:
extern (C++) __gshared const int[3] xxx;
mangles xxx as:
?xxx@@3QAHB
while the C++ file:
const int xxx[3] = { 1,2,3 };
mangles xxx as:
?xxx@@3QBHB
--
