2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 921123-2.c
blob3028717cf5a5f9aa2e1f70784793d0a58c66ecdf
1 typedef struct
3 unsigned short b0, b1, b2, b3;
4 } four_quarters;
6 four_quarters x;
7 int a, b;
9 void f (four_quarters j)
11 b = j.b2;
12 a = j.b3;
15 main ()
17 four_quarters x;
18 x.b0 = x.b1 = x.b2 = 0;
19 x.b3 = 38;
20 f(x);
21 if (a != 38)
22 abort();
23 exit (0);