Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6812.41.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr46364.C
blob: 8098991ace02a59a8d4a47ba03d3e0e8bdec3eaf [
file
] [
log
] [
blame
]
// { dg-do compile }
#include
<string>
void
a
()
throw
(
int
);
void
b
(
std
::
string
const
&);
void
c
(
std
::
string
*
e
)
{
b
(
""
);
try
{
a
();
}
catch
(...)
{
*
e
=
""
;
}
}
void
d
()
{
c
(
0
);
}