http://d.puremagic.com/issues/show_bug.cgi?id=8935
Summary: ICE(cod3.c, cod4.c): Returning string literal casted to static array Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: cbkbbej...@mailinator.com --- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2012-11-02 05:07:39 PDT --- char[1] foo() { return cast(char[1])"a"; } $ dmd test.d Internal error: ..\ztc\cod3.c 528 Changing to zero-length moves the ICE to cod4.c: char[0] foo() { return cast(char[0])""; } $ dmd test.d Internal error: ..\ztc\cod4.c 359 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------