Bug 19504 – pragma(mangle) ignored for C++ destructors
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2018-12-21T14:22:23Z
Last change time
2020-02-21T05:38:28Z
Keywords
C++, link-failure, mangling, pull
Assigned to
No Owner
Creator
Atila Neves
Comments
Comment #0 by atila.neves — 2018-12-21T14:22:23Z
----
extern(C++) struct Foo {
pragma(mangle, "HOHOHO")
~this();
}
----
The symbol's name isn't HOHOHO.
Comment #1 by dlang-bot — 2020-02-21T04:10:21Z
@Geod24 created dlang/dmd pull request #10811 "Add test for fixed issue 19504" fixing this issue:
- Add test for fixed issue 19504
https://github.com/dlang/dmd/pull/10811
Comment #2 by dlang-bot — 2020-02-21T05:38:28Z
dlang/dmd pull request #10811 "Add test for fixed issue 19504" was merged into master:
- a9b2e241ff7a8ddeafd44072e461667ebce59c58 by Geod24:
Add test for fixed issue 19504
https://github.com/dlang/dmd/pull/10811