[Issue 22638] [REG 2.096][ICE] cod4.d: Assertion `cast(int)sz > 0' failed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 21 09:13:38 UTC 2022


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

--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
Even smaller:

struct S
{
    this(ref const(S));
    ~this();
}

extern(C++) void set(const S s);

void disp()
{
    S p;
    return set(p);
}

--


More information about the Digitalmars-d-bugs mailing list