1 /* { dg-do compile } */ 2 /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */ 3 4 extern void bar(void) __attribute__((transaction_callable)); 5 foo()6foo() 7 { 8 __transaction_relaxed { 9 bar(); 10 } 11 } 12 13 /* { dg-final { scan-tree-dump-times "doesGoIrrevocable" 1 "tmmark" } } */ 14 /* { dg-final { cleanup-tree-dump "tmmark" } } */ 15