Debian Codegraph @

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

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 }