blob: f448cc1a31befbed2915c796724a97d46bc4fcda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Build don't link:
typedef int Array_T[2];
struct S1 {
S1(const Array_T&);
};
struct S2 {
S1 g();
Array_T a;
};
S1 S2::g()
{
return S1(a);
}
void h()
{
S2 s2;
s2.g();
}
|