Debian Codegraph @

gcc/testsuite/g++.dg/ext/complit6.C

raw
1 // PR c++/20103
2 // { dg-options "" }
3
4 struct A
5 {
6 A(const A&);
7 };
8
9 struct B
10 {
11 A a;
12 };
13
14 void foo(B);
15
16 void bar(A &x)
17 {
18 foo((B){x});
19 }