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;}
}