dmd/compiler/test/compilable/ice13886.d
2022-07-09 18:53:07 +02:00

14 lines
180 B
D

// REQUIRED__ARGS:
// PERMUTE_ARGS:
struct Y()
{
this() {}
~this() { this = null; }
ref opAssign(S)(S) { }
}
void main()
{
static if (is(typeof({ Y!(); }))) {}
}