[Issue 3253] New: DMD crashes on function pointer struct member initialization with function literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 16 07:27:05 PDT 2009


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

           Summary: DMD crashes on function pointer struct member
                    initialization with function literal
           Product: D
           Version: 2.031
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ace17 at free.fr


// crashes dmd 2.031

struct MyStruct
{
  int function() fp;
}

MyStruct[] MyArray =
[
{ &MyUnexistingFunction },
{ function int() { return 0;}; },
];

-- 
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