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: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@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: -------