mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-19 18:46:30 +00:00
11 lines
194 B
C
11 lines
194 B
C
// A handler can involve a transaction-safety conversion.
|
|
// { dg-do run }
|
|
// { dg-options "-fgnu-tm" }
|
|
|
|
void g() transaction_safe {}
|
|
int main()
|
|
{
|
|
try { throw g; }
|
|
catch (void (*p)()) { }
|
|
}
|