[Issue 4414] New: [ICE] Taking item of static array returned by function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 1 16:13:33 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4414
Summary: [ICE] Taking item of static array returned by function
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-07-01 16:13:32 PDT ---
int[1] foo() {
return [0];
}
void main() {
int x = foo()[0];
}
DMD 2.047 gives:
Internal error: ..\ztc\cgcs.c 359
--
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