aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/ice13886.d
blob: 05eebc4adc4959d70278c16f6a3c89c4fdc6536d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// REQUIRED__ARGS:
// PERMUTE_ARGS:

struct Y()
{
    this() {}
    ~this() { this = null; }
    ref opAssign(S)(S) { }
}

void main()
{
    static if (is(typeof({ Y!(); }))) {}
}