[testsuite] Fix retrieval of testname
[official-gcc.git] / libitm / testsuite / libitm.c++ / eh-2.C
blob156121142e782a8c8635e35529372be9f04761bf
1 // A handler can involve a transaction-safety conversion.
2 // { dg-do run }
3 // { dg-options "-fgnu-tm" }
5 void g() transaction_safe {}
6 int main()
8   try { throw g; }
9   catch (void (*p)()) { }