digitalmars.D.bugs - [Issue 13959] New: ICE in e2ir when casting struct to pointer
- via Digitalmars-d-bugs (24/24) Jan 09 2015 https://issues.dlang.org/show_bug.cgi?id=13959
https://issues.dlang.org/show_bug.cgi?id=13959 Issue ID: 13959 Summary: ICE in e2ir when casting struct to pointer Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ice Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: schveiguy yahoo.com struct S { void* p; } void main() { S s; auto a = cast(void*)s; //Error: e2ir: cannot cast s of type S to type void* } --
Jan 09 2015