[Issue 16650] Wrong mangling for extern(C++) with posix stat_t
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Jul 8 21:31:38 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=16650
--- Comment #4 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
It's easy enough to test!
$ cat test.d
pragma(mangle, "CeciNestPasUnS")
struct S { }
extern(C++) void fun(S* s);
pragma(msg, fun.mangleof);
$ dmd -o- test.d
_Z3funP1S
Looks like pragma(mangle) has no effect on structs so far.
--
More information about the Digitalmars-d-bugs
mailing list