summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/id-10.c
blob: 8c2b88982b1fddd19140afa1035ea35f44788b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int bar[100][100];

int
foo (int N, unsigned int J)
{
  int i, k;

  for (k = 0; k < N; k++)
    if (k != J)
      for (i = 0; i < N; i++)
	if (i != J)
	  bar[k][i] = 20;

  return bar[N][J];
}