[Issue 23427] ImportC: some bitfield combinations lead to wrong size struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 13 20:28:55 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23427

--- Comment #1 from dave287091 at gmail.com ---
Created attachment 1869
  --> https://issues.dlang.org/attachment.cgi?id=1869&action=edit
Failure cases

I generated all of the possible structs with bitfields totaling to 32 bits and
each member having at least 1 bit. All of these assertions pass with clang and
fail with dmd on macOS.

--


More information about the Digitalmars-d-bugs mailing list