mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
27 lines
217 B
D
27 lines
217 B
D
struct S {
|
|
@disable this();
|
|
|
|
this(int i) {
|
|
}
|
|
}
|
|
|
|
class C {
|
|
this() {
|
|
s = S(1);
|
|
}
|
|
|
|
S s;
|
|
}
|
|
|
|
class CR
|
|
{
|
|
S s;
|
|
|
|
this() {
|
|
s = S(1);
|
|
}
|
|
}
|
|
|
|
void main() {
|
|
auto c = new C;
|
|
}
|