1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O0 -w" } */
4 __attribute__((always_inline
))
5 static void asmfunc(void)
7 __asm__ (""); /* { dg-error "asm not allowed in .transaction_safe" } */
10 __attribute__((transaction_safe
))
18 __transaction_atomic
{
24 /* { dg-message "inlined from \'f\'" "" { target *-*-* } 0 } */