[Issue 1636] New: DMD crashes with writef and ternary operator using strings
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 3 16:36:21 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1636
Summary: DMD crashes with writef and ternary operator using
strings
Product: D
Version: 2.007
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: ddparnell at bigpond.com
The code below causes Windows DMD 2.007 to crash.
import std.stdio;
void main()
{
string A = "";
writefln("%s", (A.length == 0 ? "A" : "Z") );
}
--
More information about the Digitalmars-d-bugs
mailing list