blob: ee1b616e4036395848c9fcc1c31f0d127b549d6a [file] [log] [blame]
// PR 22022
// { dg-do compile }
// { dg-options "-O2" }
_Complex float f();
_Complex float g();
_Complex float h()throw();
void i(float)throw();
void j(void)
{
_Complex float x = h();
try
{
try
{
x = f();
}catch (...)
{
x += g();
}
}catch(...){}
i(__builtin_crealf(x)+__builtin_cimagf(x));
}