Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
eh
/
pr45569.C
blob: 4f67770b4a71de1dd51017e5254212b96a6273d2 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-O -fnon-call-exceptions" }
float
f
();
_Complex
float
g
();
void
i
(
_Complex
float
);
void
j
()
{
_Complex
float
x
=
0
;
try
{
x
=
f
();
}
catch
(
...)
{
x
+=
g
();
}
i
(
x
);
}