[Issue 10483] New: ICE(expression.c) .init of struct with block initialized 2D static array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 26 20:27:18 PDT 2013
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: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 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: -------
More information about the Digitalmars-d-bugs
mailing list