[Issue 15843] D-type mangling used for extern(C) (extern) function declaration inside function body, on LDC, GDC, and DMD.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 3 09:41:22 UTC 2024


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

basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from basile-z <b2.temp at gmx.com> ---
Prgma mangle works locally since a year or so:

```
void main() {
    pragma(mangle, "func")
    extern(C) int func(int);
    static assert(func.mangleof == "func");
}    
```

--


More information about the Digitalmars-d-bugs mailing list