OSDN Git Service

Merge remote-tracking branch 'gnu/gcc-4_7-branch' into rework
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tm / pr46567-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
3
4 int funky();
5 int global;
6
7 void SeqfileGetLine()
8 {
9   funky();
10 }
11
12 __attribute__((transaction_callable)) void readLoop()
13 {
14         SeqfileGetLine();
15         if (global)
16           funky();
17
18 }