blob: 847c0f43693121135c3d01d6c039b4255e5da990 [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=19870
struct T
{
int i;
this(ref return scope inout typeof(this) src)
inout @safe pure nothrow @nogc
{
i = src.i;
}
}
struct S
{
T t;
}
void main()
{
T a;
S b = S(a);
}