projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.c++
/
cttiadd2.cc
1
template
<
class
T
>
T
add2
(
T v1
,
T v2
)
2
{
3
T v3
;
4
v3
=
v1
;
5
v3
+=
v2
;
6
return
v3
;
7
}
8
9
void
subr2
()
10
{
11
char
c
;
12
int
i
;
13
float
f
;
14
15
c
=
'b'
;
16
i
=
3
;
17
f
=
6.5
;
18
19
c
=
add2
(
c
,
c
);
20
i
=
add2
(
i
,
i
);
21
f
=
add2
(
f
,
f
);
22
}