[Issue 19282] New: hashOf segfaults for non-null C++ objects and interfaces
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 1 21:05:59 UTC 2018
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 at puremagic.com
Reporter: n8sh.secondary at hotmail.com
The following code crashes:
---
extern(C++)
{
class C {}
}
void main()
{
C c = new C();
size_t h = .hashOf(c);
}
---
--
More information about the Digitalmars-d-bugs
mailing list