[Issue 23345] ImportC: out of order designated initializers initialize to wrong value
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 23 09:18:00 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23345
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
A much simpler test case:
struct S { int a, b; };
struct S s = { .b = 3, .a = 2 };
The initialization is a=0, b=3
--
More information about the Digitalmars-d-bugs
mailing list