[Issue 5755] New: Internal error in cgcs.c

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 19 16:11:06 PDT 2011


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

           Summary: Internal error in cgcs.c
           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 2011-03-19 16:07:51 PDT ---
struct Foo { int x; }
int[1] bar(Foo f) {
    return [f.x];
}
void main() {
    int y = bar(Foo())[0];
}



DMD 2.052 shows:
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