[Issue 2645] New: dmd 0.23 crashes on this (wrong) code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 4 23:08:46 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2645
Summary: dmd 0.23 crashes on this (wrong) code
Product: D
Version: 2.023
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: ace17 at free.fr
// The following code causes a segmentation fault.
import std.stdio;
import std.string;
struct S { int a, b; }
invariant S[4] tab;
void f()
{
int i= 0;
writefln(tab[i]);
}
--
More information about the Digitalmars-d-bugs
mailing list