projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
import gdb-1999-08-02 snapshot
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.c++
/
cttiadd.cc
1
template
<
class
T
>
T
add
(
T v1
,
T v2
)
2
{
3
T v3
;
4
v3
=
v1
;
5
v3
+=
v2
;
6
return
v3
;
7
}
8
9
int
main
()
10
{
11
char
c
;
12
int
i
;
13
float
f
;
14
extern
void
add1
();
15
extern
void
subr2
();
16
extern
void
subr3
();
17
18
c
=
'a'
;
19
i
=
2
;
20
f
=
4.5
;
21
22
c
=
add
(
c
,
c
);
23
i
=
add
(
i
,
i
);
24
f
=
add
(
f
,
f
);
25
26
add1
();
27
subr2
();
28
subr3
();
29
}
This page took
0.032302 seconds
and
4
git commands to generate.