[Issue 18957] extern(C++) doesn't mangle 'std' correctly on posix systems

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 15 10:33:07 UTC 2018


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

--- Comment #4 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
(In reply to Manu from comment #0)
> extern (C++, std)
> {
>   struct test {}
> }
> extern (C++) void test(ref const(std.test) t) {}
> 
> Expect: _Z4testRKNSt4testE
> Actual: _Z4testRKN3std4testE

Actual should be something like _Z4testRKSt4test

--


More information about the Digitalmars-d-bugs mailing list