www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19504] New: pragma(mangle) ignored for C++ destructors

https://issues.dlang.org/show_bug.cgi?id=19504

          Issue ID: 19504
           Summary: pragma(mangle) ignored for C++ destructors
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: atila.neves gmail.com

----
extern(C++) struct Foo {
    pragma(mangle, "HOHOHO")
    ~this();
}
----

The symbol's name isn't HOHOHO.

--
Dec 21 2018