Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / pr60908.c
blob773438ddbe6f8dddf25a2baf666dd1d0bd7ca92d
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
4 int t, v;
6 int
7 foo (void)
9 while (1)
11 __transaction_atomic { v++; }
12 if (t)
13 return 0;