Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Win64: Fix extern(C++) ABI wrt. passing non-POD structs by value (#2706)
Most small non-PODs are passed in registers, but those with a C++ copy ctor, including an explicitly deleted one, are apparently passed by ref.
- Loading branch information
Showing
2 changed files
with
55 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule dmd-testsuite
updated
3 files
+66 −0 | runnable/extra-files/cpp_nonpod_byval.cpp | |
+112 −0 | runnable/nonpod_byval.d | |
+3 −2 | tools/d_do_test.d |