1 /* { dg-do compile } */ 2 /* { dg-require-effective-target lto } */ 3 /* { dg-options "-fgnu-tm -flto" } */ 4 5 __attribute__((transaction_safe)) foo()6 void foo() 7 { 8 } 9 10 /* { dg-final { scan-assembler "ZGTt3foo" } } */ 11