https://issues.dlang.org/show_bug.cgi?id=18928
--- Comment #12 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/20ffec71c10a6f6e1651503dbb63cb1a7015cb20 fix issue 18928 - extern(C++) bad codegen on win64, wrong calling convention With the VC ABI, a member function always returns a struct on the stack no matter its size https://github.com/dlang/dmd/commit/3a79629988efd51d4dda9edb38a6701cd097da89 Merge pull request #8330 from rainers/issue_18928 fix issue 18928 - extern(C++) bad codegen on win64, wrong calling convention merged-on-behalf-of: Mathias LANG <pro.mathias.l...@gmail.com> --