[Issue 5119] New: [ICE] with null initialization of a pointer to undefined identifier
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 25 17:00:51 PDT 2010
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: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at 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: -------
More information about the Digitalmars-d-bugs
mailing list