17 int *g0
= &(arr
[1].i
);
19 int *g2
= &((arr
+ 2)->i
);
23 int *l0
= &(arr
[1].i
);
25 int *l2
= &((arr
+ 2)->i
);
27 static int *s0
= &(arr
[1].i
);
28 static int *s1
= &(arr
->i
);
29 static int *s2
= &((arr
+ 2)->i
);
31 ASSERT (*g0
== 32010);
32 ASSERT (*g1
== 32000);
33 ASSERT (*g2
== 32020);
35 ASSERT (*l0
== 32010);
36 ASSERT (*l1
== 32000);
37 ASSERT (*l2
== 32020);
39 ASSERT (*s0
== 32010);
40 ASSERT (*s1
== 32000);
41 ASSERT (*s2
== 32020);