Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/cvt1.C

raw
1 // { dg-do assemble }
2
3 typedef int Array_T[2];
4
5 struct S1 {
6 S1(const Array_T&);
7 };
8
9 struct S2 {
10 S1 g();
11 Array_T a;
12 };
13
14 S1 S2::g()
15 {
16 return S1(a);
17 }
18
19 void h()
20 {
21 S2 s2;
22 s2.g();
23 }