1/* Test completion of incomplete types.
2   There used to be a bug where some types from incomplete
3   list were accidentally lost.  */
4/* { dg-do compile } */
5/* { dg-options "" } */
6
7typedef struct a A[1];
8typedef struct b B[1];
9typedef struct c C[1];
10typedef struct d D[1];
11typedef struct a E;
12typedef struct b F;
13typedef struct c G;
14typedef struct d H;
15struct a { int a; };
16struct c { int c; };
17struct d { int d; };
18struct b { int b; };
19int sa = sizeof (A);
20int sb = sizeof (B);
21int sc = sizeof (C);
22int sd = sizeof (D);
23int se = sizeof (E);
24int sf = sizeof (F);
25int sg = sizeof (G);
26int sh = sizeof (H);
27