Debian Codegraph @

gcc/testsuite/gdc.test/compilable/ice13886.d

raw
1 // REQUIRED__ARGS:
2 // PERMUTE_ARGS:
3
4 struct Y()
5 {
6 this() {}
7 ~this() { this = null; }
8 ref opAssign(S)(S) { }
9 }
10
11 void main()
12 {
13 static if (is(typeof({ Y!(); }))) {}
14 }