1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
3 
4 int funky();
5 int global;
6 
SeqfileGetLine()7 void SeqfileGetLine()
8 {
9   funky();
10 }
11 
readLoop()12 __attribute__((transaction_callable)) void readLoop()
13 {
14 	SeqfileGetLine();
15 	if (global)
16 	  funky();
17 
18 }
19