1  /* { dg-do compile } */
       2  /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
       3  
       4  int y, x, york;
       5  
       6  void foobar(void)
       7  {
       8    x = y + __transaction_atomic (york);
       9  }
      10  
      11  /* { dg-final { scan-tree-dump-times "_ITM_RU.*york" 1 "tmmark" } } */
      12  /* { dg-final { scan-tree-dump-times "_ITM_RU" 1 "tmmark" } } */