Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr33589-2.C
blob: 325892bc684c13d1a0e2e6ba9f5c7033a024c403 [
file
] [
log
] [
blame
]
// { dg-do compile }
void
f
(
void
*)
throw
();
void
somefunction
()
{
try
{
void
(*
g
)(
void
*)
=
(
void
(*)(
void
*))
f
;
void
(*
g2
)(
int
*)
=
(
void
(*)(
int
*))
g
;
g2
(
0
);
}
catch
(...)
{
throw
;}
}