blob: 307a63924c33b0c7fdb257b2e9f82ed0a5f21f6e [file] [log] [blame]
// A handler cannot do the reverse of a transaction-safety conversion.
// { dg-do run }
// { dg-options "-fgnu-tm" }
extern "C" void abort();
void g() {}
int main()
{
try { throw g; }
catch (void (*p)() transaction_safe) { abort(); }
catch (...) { }
}