digitalmars.D.bugs - [Issue 19282] New: hashOf segfaults for non-null C++ objects and
- d-bugmail puremagic.com (27/27) Oct 01 2018 https://issues.dlang.org/show_bug.cgi?id=19282
https://issues.dlang.org/show_bug.cgi?id=19282 Issue ID: 19282 Summary: hashOf segfaults for non-null C++ objects and interfaces Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: n8sh.secondary hotmail.com The following code crashes: --- extern(C++) { class C {} } void main() { C c = new C(); size_t h = .hashOf(c); } --- --
Oct 01 2018