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: [email protected]
ReportedBy: [email protected]
To reproduce, compile this:
import std.stdio;
struct Foo {}
void main()
{
writefln(Foo);
}
The DMD crashes with access violation (read address 0x00000000)
--
