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 
7 typedef struct a E;
8 typedef struct b F;
9 typedef struct c G;
10 typedef struct d H;
11 struct a { int a; };
12 struct c { int c; };
13 struct d { int d; };
14 struct b { int b; };
15 int se = sizeof (E);
16 int sf = sizeof (F);
17 int sg = sizeof (G);
18 int sh = sizeof (H);
19