1 /* { dg-do compile } */ 2 /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */ 3 4 int foo; 5 6 __attribute__((transaction_callable)) cloneme()7void cloneme() 8 { 9 foo = 666; 10 } 11 12 /* { dg-final { scan-tree-dump-times "ITM_WU.*foo" 1 "tmmark" } } */ 13 /* { dg-final { cleanup-tree-dump "tmmark" } } */ 14