[Issue 7710] New: Segmentation fault when assigning function to	delegate variable
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Mar 14 13:04:57 PDT 2012
    
    
  
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: nobody at puremagic.com
        ReportedBy: xtzgzorex at gmail.com
--- Comment #0 from Alex Rønne Petersen <xtzgzorex at gmail.com> 2012-03-14 13:05:08 PDT ---
I have no idea if it's valid code, but it does crash DMD.
alexrp at alexrp ~/Projects/tests $ cat test.d
void foo()
{
}
void main()
{
    void delegate() f = foo;
}
alexrp at 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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list