[Issue 2578] New: Compiler crashes when type is passed to writefln()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 10 18:48:56 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2578
Summary: Compiler crashes when type is passed to writefln()
Product: D
Version: 2.023
Platform: PC
OS/Version: Windows
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: snake.scaly at gmail.com
To reproduce, compile this:
import std.stdio;
struct Foo {}
void main()
{
writefln(Foo);
}
The DMD crashes with access violation (read address 0x00000000)
--
More information about the Digitalmars-d-bugs
mailing list