https://issues.dlang.org/show_bug.cgi?id=20208
Paul Backus <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |C++ CC| |[email protected] --- Comment #4 from Paul Backus <[email protected]> --- Someone just ran into this in the community Discord. I was able to reproduce using both DMD 2.104.0 and LDC 1.33.0 as the D compiler, with the following example program: --- test.d extern(C++) struct Test { this(const ref Test other) {} } --- main.cpp struct Test { Test() = default; Test(const Test &other); }; int main() { Test a; Test b = a; return 0; } --- --
