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

           Summary: Empty associative array crashes program
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Lu�s Marques <[email protected]> 2013-04-01 13:15:55 
PDT ---
#!/usr/local/bin/rdmd

@safe:

void main()
{
    int[string] a;
    a["foo"] = 0;
    a.remove("foo");
    assert(a != null);
}

---

$ ./test.d 
Segmentation fault: 11

--

System:
DMD64 D Compiler v2.062
Darwin feynman 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST
2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

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

Reply via email to