3 fail_compilation/test20719.d(13): Error: struct `test20719.SumType` no size because of forward reference
4 fail_compilation/test20719.d(32): Error: variable `test20719.isCopyable!(SumType).__lambda2.foo` - size of type `SumType` is invalid
5 fail_compilation/test20719.d(18): Error: template instance `test20719.isCopyable!(SumType)` error instantiating
10 alias Types
= AliasSeq
!(typeof(this));
18 static if (isCopyable
!(Types
[0])) {}
19 static if (isAssignable
!(Types
[0])) {}
22 alias AliasSeq(TList
...) = TList
;
24 enum isAssignable(Rhs
) = __traits(compiles
, lvalueOf
= rvalueOf
!Rhs
);
26 struct __InoutWorkaroundStruct
{}
30 T
lvalueOf()(__InoutWorkaroundStruct
);
32 enum isCopyable(S
) = { S foo
; };