[Issue 5090] ICE(todt.c) struct literal initializing zero length array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 9 07:49:48 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5090
--- Comment #5 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-12-09 07:48:08 PST ---
Just to make note, these forms of initialisation are still OK for zero-length
static arrays:
struct A { int[0] b; }
A a = A(); // OK
A b = {}; // OK
A c = A([]); // OK
A d = {b:[]}; // OK
Regards
--
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