blob: 51ac4c1bbe573fc12903bb4c693fce1dc817c80e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
typedef struct {
int n;
float *a;
} bar;
float
foo (bar *b)
{
float c, d;
int j;
for (j = 0; (j < b->n); j++)
d += b->a[j];
for (j = 0; (j < b->n); j++)
c += b->a[j];
return d;
}
|