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: bugzi...@digitalmars.com
        ReportedBy: snake.sc...@gmail.com


To reproduce, compile this:

import std.stdio;
struct Foo {}
void main()
{
    writefln(Foo);
}

The DMD crashes with access violation (read address 0x00000000)


-- 

Reply via email to