summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/pch/static-3.hs
blob: b881945f5eaf671a27a4bb76b8c5d14659721a99 (plain)
1
2
3
4
5
6
7
static int foo(int *a)
{
  int i, tot;
  for (i = tot = 0; i < 100; i++)
    tot += a[i];
  return tot;
}
OpenPOWER on IntegriCloud