2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / cvt1.C
blobaa030827a64b57453546c408b6f610b1a43bbb45
1 // { dg-do assemble  }
3 typedef int Array_T[2];
5 struct S1 {
6   S1(const Array_T&);
7 };
9 struct S2 {
10   S1 g();
11   Array_T a;
14 S1 S2::g()
16   return S1(a);
19 void h()
21   S2 s2;
22   s2.g();