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

           Summary: Segmentation fault when assigning function to delegate
                    variable
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: xtzgzo...@gmail.com


--- Comment #0 from Alex R´┐Żnne Petersen <xtzgzo...@gmail.com> 2012-03-14 
13:05:08 PDT ---
I have no idea if it's valid code, but it does crash DMD.

alexrp@alexrp ~/Projects/tests $ cat test.d
void foo()
{
}

void main()
{
    void delegate() f = foo;
}
alexrp@alexrp ~/Projects/tests $ dmd test.d
Segmentation fault

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

Reply via email to