summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr31034.c
blob: affad95154a843fb045907194526221633f45ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
static inline int
mod (int a, int n)
{
  return a >= n ? a % n : a;
}
void dpara(int);
void opticurve (int m)
{
  int i;
  for (i = 0; i < m; i++)
    {
        dpara(mod (i - 1, m));
    }
}