repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update generated files
[binutils.git]
/
ld
/
testsuite
/
ld-cdtest
/
cdtest-bar.cc
blob
79000e33954ced68c47071eca9d60a1b393eb4b6
1
// test program for Class Foo
2
3
#include
"cdtest-foo.h"
4
5
static
Foo
static_foo
(
"static_foo"
);
6
7
Foo
f
()
8
{
9
Foo x
;
10
return
x
;
11
}
12
13
void
g
()
14
{
15
Foo other_foo1
=
Foo
(
"other_foo1"
),
other_foo2
=
Foo
(
"other_foo2"
);
16
other_foo2
=
other_foo1
;
17
}