mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
15 lines
180 B
D
15 lines
180 B
D
// https://issues.dlang.org/show_bug.cgi?id=20406
|
|
struct S
|
|
{
|
|
@disable this();
|
|
this(int) {}
|
|
this(ref S other) {}
|
|
}
|
|
|
|
void foo(S s) {}
|
|
|
|
void main()
|
|
{
|
|
S s = S(3);
|
|
foo(s);
|
|
}
|