pretty-print.h (pp_base): Remove.
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / pr51696.c
blob02ee3f517c002283d3266525d78a61e1076804c1
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
4 struct list {
5 void (*compare)();
6 } *listPtr;
8 static void (*compare)();
10 __attribute__((transaction_safe))
11 static void func () {
12 listPtr->compare(); /* { dg-error "unsafe indirect function call" } */
13 compare(); /* { dg-error "unsafe function call" } */