http://d.puremagic.com/issues/show_bug.cgi?id=11315
Summary: dmd: Internal error: ..\ztc\cgcod.c 1561 Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bugzi...@digitalmars.com --- Comment #0 from Walter Bright <bugzi...@digitalmars.com> 2013-10-21 10:41:32 PDT --- int[] test() { int[] x; int[3] y; x = y = [1, 2, 3]; return x; } void fill() { int[100] x; } void main() { auto a = test(); fill(); assert(a[0] == 1); assert(a[1] == 2); assert(a[2] == 3); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------