[Issue 2055] New: (ICE) Compiler crash on struct initializer with too many elements

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 28 16:34:35 PDT 2008


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

           Summary: (ICE) Compiler crash on struct initializer with too many
                    elements
           Product: D
           Version: 2.013
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: brunodomedeiros+bugz at gmail.com


Compiler crash on struct initializer with too many elements:
---- ----

struct Struct { 
        char* chptr; 
}

void main()
{
        char ch = 'd';
        invariant Struct iStruct = {1, &ch};
}


-- 



More information about the Digitalmars-d-bugs mailing list