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'
*** This issue has been marked as a duplicate of issue 4830 ***