blob: 3c7a16998d183fde9e7c3202202f901da2f648d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// This test failed with GGC_ALWAYS_COLLECT because not all unparsed
// inline methods were registered with GC.
// { dg-do compile }
const char *foo ()
{
struct A
{
const char *a1 ()
{
return "a1";
}
const char *a2 ()
{
struct B
{
const char *b1 ()
{
return "b1";
}
const char *b2 ()
{
struct C
{
const char *c1 ()
{
return "c1";
}
const char *c2 ()
{
return "c2";
}
};
return "b2";
}
const char *b3 ()
{
return "b3";
}
};
return "a2";
}
const char *a3 ()
{
return "a3";
}
};
return "foo";
}
|