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

           Summary: [ICE] with null initialization of a pointer to
                    undefined identifier
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2010-10-25 17:00:04 PDT ---
With this wrong program:


void main() {
    Foo* p = null;
}


DMD 2.049 crashes and shows:

test.d(2): Error: identifier 'Foo' is not defined
test.d(2): Error: Foo is used as a type
Assertion failure: 'tn->mod == MODimmutable' on line 879 in file 'mtype.c'

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

Reply via email to