1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
8 static void (*compare
)();
10 __attribute__((transaction_safe
))
12 listPtr
->compare(); /* { dg-error "unsafe indirect function call" } */
13 compare(); /* { dg-error "unsafe function call" } */