[Issue 5090] Assertion `sz <= vsz' failed with struct literal initializing zero length array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 20 16:36:24 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5090
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2010-10-20 16:35:32 PDT ---
This needs to be an error, because that 0 value has nowhere to be stored into:
struct A { int[0] b; }
A b = {b : 0};
--
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