repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
gc1.C
blob
3c7a16998d183fde9e7c3202202f901da2f648d3
1
// This test failed with GGC_ALWAYS_COLLECT because not all unparsed
2
// inline methods were registered with GC.
3
// { dg-do compile }
4
5
const char *foo ()
6
{
7
struct A
8
{
9
const char *a1 ()
10
{
11
return "a1";
12
}
13
const char *a2 ()
14
{
15
struct B
16
{
17
const char *b1 ()
18
{
19
return "b1";
20
}
21
const char *b2 ()
22
{
23
struct C
24
{
25
const char *c1 ()
26
{
27
return "c1";
28
}
29
const char *c2 ()
30
{
31
return "c2";
32
}
33
};
34
return "b2";
35
}
36
const char *b3 ()
37
{
38
return "b3";
39
}
40
};
41
return "a2";
42
}
43
const char *a3 ()
44
{
45
return "a3";
46
}
47
};
48
return "foo";
49
}