pet_array: explicitly keep track of whether array is innermost
[pet.git] / tests / struct14.c
blob77bd053ca30c88e914d7aad5935c47b3be226ee5
1 typedef struct scomplex {
2 float re;
3 float im;
4 } scomplex;
6 struct pair {
7 scomplex c[2];
8 };
10 void foo()
12 struct pair p;
14 #pragma scop
15 p.c[0].re = p.c[1].im;
16 #pragma endscop