modula2: Reimplement parameter declaration and checking.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42630.c
blob34543dab5e9971439dd66ca1b87a760435d8f216
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug" } */
4 int sum(int *buf, int len)
6 int s = 0;
7 while (--len > 0) s += *buf++;
8 return s;