Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030815-1.c
blob7bf21bd468501e2a321fe6fa4d709ca9989ad70b
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 "" } */
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);