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

--- Comment #0 from 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:
------- You are receiving this mail because: -------

Reply via email to