Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / props-3.c
blob2813745f8137eaecb2e09d1f3fb7a427728c1d69
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -fdump-ipa-tmipa" } */
4 /* Test that indirect calls set the irrevocable bit. */
6 void (*indirect)(void);
8 void
9 foo(){
10 __transaction_relaxed {
11 (*indirect)();
15 /* { dg-final { scan-ipa-dump-times "GTMA_MAY_ENTER_IRREVOCABLE" 1 "tmipa" } } */