repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
gold
/
testsuite
/
eh_test_b.cc
blob
3bf96e9d3cad0e6f41faa3a1afcd12df5cf072f7
1
#include <iostream>
2
#include <cstdlib>
3
4
void
5
foo
()
6
{
7
}
8
9
template
<
typename C
>
10
void
11
bar
(
C
*)
12
{
13
}
14
15
template
16
void
17
bar
<
int
>(
int
*);
18
19
int
20
main
()
21
{
22
try
23
{
24
throw
(
1
);
25
}
26
catch
(
int
)
27
{
28
std
::
cout
<<
"caught"
<<
std
::
endl
;
29
exit
(
0
);
30
}
31
std
::
cout
<<
"failed"
<<
std
::
endl
;
32
exit
(
1
);
33
}