blob: 8dd41a5bfe8384e8454429ce678649408b44e3f2 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-fgnu-tm -O" }
struct S
{
virtual void f() __attribute__((transaction_safe));
};
void f(S *s) { __transaction_atomic { s->f(); } }