[Issue 4414] ICE(cgcs.c) Taking item of static array returned by function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 16 07:00:44 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4414



--- Comment #6 from zetetyck at gmail.com 2011-11-16 06:59:55 PST ---
To make searching easier, I just want to mention that with DMD 2.056, this
code:
int[1] foo() {
    return [0];
}
void main() {
    int x = foo()[0];
}

Now gives:
Internal error: ..\ztc\cgcs.c 352

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list