summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20020819-1.c
blob: 549da910cd4fc371f5fa78d730713be432fa16af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
foo ()
{
  return 0;
}

main()
{
  int i, j, k, ccp_bad = 0;

  for (i = 0; i < 10; i++)
    {
      for (j = 0; j < 10; j++)
	if (foo ())
	  ccp_bad = 1;
    
      k = ccp_bad != 0;
      if (k)
	abort ();
    }

  exit (0);
}