Sign in
fuchsia
/
third_party
/
binutils-gdb
/
refs/heads/upstream/gdb-7.10-branch
/
.
/
gold
/
testsuite
/
eh_test_b.cc
blob: 50538df4b8c6c25ca5c563965ed8869c5e0dbc09 [
file
] [
log
] [
blame
] [
edit
]
#include
<iostream>
#include
<cstdlib>
void
foo
()
{
}
int
main
()
{
try
{
throw
(
1
);
}
catch
(
int
)
{
std
::
cout
<<
"caught"
<<
std
::
endl
;
exit
(
0
);
}
std
::
cout
<<
"failed"
<<
std
::
endl
;
exit
(
1
);
}