Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
eh
/
pr42859.C
blob: 0de91409c833b48a41e6afb3f30eedf7b2350142 [
file
] [
log
] [
blame
]
// { dg-do compile }
void
start
(
void
);
void
ptw32_terminate
(
void
)
{
try
{
try
{
start
();
}
catch
(
int
)
{
}
catch
(
int
)
// { dg-warning "will be caught by earlier handler" }
{
}
}
catch
(
int
)
{
}
}