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