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

           Summary: segfault on anonymous struct/union
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: ellery-newco...@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2010-03-16 
12:24:31 PDT ---
struct A{
    struct{
        B b;
        C c;
    }
}
struct B{
    int i;
}
struct C{
    int j;
}

and DMD bombs out. Seems to be a forward referencing problem, as the
AnonDeclaration's scope never gets set.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to