http://d.puremagic.com/issues/show_bug.cgi?id=10483
Summary: ICE(expression.c) .init of struct with block
initialized 2D static array
Product: D
Version: D1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: coffimplib
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Don <[email protected]> 2013-06-26 20:27:12 PDT ---
Related to bug 10198
---
struct Bug {
int val[3][4];
}
struct Outer {
Bug p = Bug(67);
}
int k1 = Outer.init.p.val[2][2]; // ICE(expression.c)
void main()
{
int k2 = Outer.init.p.val[2][2]; // Segfault (backend/type.c)
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------