Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / 20100615-2.c
blob4341e7d35ea8f4fb2e48fd8326c82a935edb7d4f
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O" } */
4 __attribute__((transaction_safe))
5 void Info_RemoveKey (char *s)
7 char *o = 0;
8 while (1)
10 s++;
11 while (*s)
13 if (!*s)
14 return;
15 *o++ = *s++;
17 *o = 0;