aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tm/pr46567.c
blob: bcc59adf509eb8b8e66cabe91bfd556eb8699b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
__attribute__((transaction_callable))
static void SeqfileGetLine ()
{
  SSIGetFilePosition ();
}

__attribute__((transaction_callable))
static void readLoop (int addfirst)
{
  if (!addfirst)
    {
      if (!addfirst)
	{
	  SSIGetFilePosition ();
	}
      SeqfileGetLine ();
    }
}