[Issue 3974] New: ICE(init.c): Static array initializer with more elements than destination array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 16 01:08:36 PDT 2010


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

           Summary: ICE(init.c): Static array initializer with more
                    elements than destination array
           Product: D
           Version: 2.040
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2010-03-16 01:08:35 PDT ---
Reported in a comment in bug 3849.

void main() {
  struct S { int x; }
  S[2] a = [{1}, {2}, {3}];
}

-- 
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