1 /* { dg-do compile } */ 2 /* { dg-options "-fgnu-tm" } */ 3 4 static int x; 5 6 void __attribute__((transaction_callable)) foo(void)7 foo(void) 8 { 9 x++; 10 } 11 12 /* { dg-final { scan-assembler "_ZGTt3foo" } } */ 13