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

--- Comment #4 from Walter Bright <[email protected]> ---
Even smaller:

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

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

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

--

Reply via email to