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

           Summary: compiler segfaults
           Product: D
           Version: 1.056
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: fa...@gmx.ch


--- Comment #0 from Fawzi Mohamed <fa...@gmx.ch> 2010-02-14 09:27:53 PST ---
The following (incorrect) code segfaults the compiler

I suppose that it is connected with something segfault on correct code of
xf.omg.core.CoordSys and that it is connected with #3792

{{{
struct S {
    int x;

    template T(int val) {
        const P T = { val }; // the P here is an error it should be S
    }
}

template V(R,int val){
    const R V=R.T!(val);
}

const S x = V!(S,0);
}}}

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

Reply via email to