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: nob...@puremagic.com Reporter: schvei...@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* } --