2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 931102-1.c
blob489e7ebda8d0ffbfede31f17fde2db35c338ab65
1 typedef union
3 struct
5 char h, l;
6 } b;
7 } T;
9 f (x)
10 int x;
12 int num = 0;
13 T reg;
15 reg.b.l = x;
16 while ((reg.b.l & 1) == 0)
18 num++;
19 reg.b.l >>= 1;
21 return num;
24 main ()
26 if (f (2) != 1)
27 abort ();
28 exit (0);