1 // Test throwing an exception whose constructor might throw. This tests that
2 // _cxa_free_exception is instrumented.
5 // { dg-options "-fgnu-tm" }
7 void __attribute__ ((transaction_pure,noinline)) dontoptimize (int *i)
20 test (const test& t) : test (t.data[0])
26 bool operator !=(const test& other)
28 return data[0] != other.data[0];
43 if (ex.data[0] != 23) __builtin_abort ();