Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
compat
/
eh
/
filter2_y.C
blob: 87c6fea101272584cc4b51b5dc8ec2ff1bbb0a8a [
file
] [
log
] [
blame
]
#include
<exception>
#include
<cstdlib>
struct
e1
{};
struct
e2
{};
struct
a
{
a
()
{
}
~
a
()
{
try
{
throw
e1
();
}
catch
(
e2
&)
{
}
}
};
void
ex_test
()
{
a aa
;
try
{
throw
e1
();
}
catch
(
e2
&)
{
}
}
void
my_terminate
()
{
std
::
exit
(
0
);
}