[Issue 24257] ImportC: ICE on accessing last _Bool bitfield

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 24 22:43:54 UTC 2023


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

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
This is not an ImportC specific bug, the same code in D exhibits the same
failure:

struct S
{
    uint : 15;
    bool done : 1;
}

void advance()
{
    S n;
    if (n.done) {}
}

--


More information about the Digitalmars-d-bugs mailing list