OSDN Git Service

* gcc.c-torture/execute/20000412-1.c: Reduce some more.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 931031-1.c
1 struct foo
2 {
3   unsigned y:1;
4   unsigned x:32;
5 };
6
7 int
8 f (x)
9      struct foo x;
10 {
11   int t = x.x;
12   if (t < 0)
13     return 1;
14   return t+1;
15 }
16
17 main ()
18 {
19   struct foo x;
20   x.x = -1;
21   if (f (x) == 0)
22     abort ();
23   exit (0);
24 }