blob: eb27c888fda9e334f41936b6bf454473b7d8647a [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
int y, x, york;
void foobar(void)
{
x = y + __transaction_atomic (york);
}
/* { dg-final { scan-tree-dump-times "_ITM_RU.*york" 1 "tmmark" } } */
/* { dg-final { scan-tree-dump-times "_ITM_RU" 1 "tmmark" } } */