mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
14 lines
180 B
D
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!(); }))) {}
|
|
}
|