Debian Codegraph @

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

raw
1 struct S {
2 @disable this();
3
4 this(int i) {
5 }
6 }
7
8 class C {
9 this() {
10 s = S(1);
11 }
12
13 S s;
14 }
15
16 class CR
17 {
18 S s;
19
20 this() {
21 s = S(1);
22 }
23 }
24
25 void main() {
26 auto c = new C;
27 }