1 /* { dg-do compile } */ 2 /* { dg-options "-fgnu-tm -O1" } */ 3 4 static inline void inline_death()5 inline_death () 6 { 7 __asm__ (""); /* { dg-error "asm not allowed" } */ 8 } 9 10 void tranfunction()11 tranfunction () 12 { 13 __transaction_atomic 14 { 15 inline_death (); 16 } 17 } 18