☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20406.d
☽
☼
gcc/testsuite/gdc.test/compilable/test20406.d
code
plain
raw
1
// https://issues.dlang.org/show_bug.cgi?id=20406
2
struct S
3
{
4
@disable this();
5
this(int) {}
6
this(ref S other) {}
7
}
8
9
void foo(S s) {}
10
11
void main()
12
{
13
S s = S(3);
14
foo(s);
15
}