Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20180605-1.c

raw
1 /* { dg-additional-options "-fpermissive" } */
2
3 void f (int *p, int n)
4 {
5 int j = 0, k;
6
7 for (int i = 0; i < n; i++)
8 if ((k = *p++) > 0)
9 j += k;
10 return j;
11 }