[Issue 2346] New: ICE when comparing typedef'd class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 7 17:17:49 PDT 2008


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

           Summary: ICE when comparing typedef'd class
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: jason.james.house at gmail.com


The code below will cause a segmentation fault when compiled.

class foo{this(){}}
typedef foo bar;

void main(){
        foo a;
        bar b;
        auto x = (a==b);
}


-- 



More information about the Digitalmars-d-bugs mailing list