2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / bf-sign-1.c
blob3cc3eac15fdf8e8080e3075533a352df7fd76f4c
1 main ()
3 struct {
4 signed int s:3;
5 unsigned int u:3;
6 int i:3;
7 } x = {-1, -1, -1};
9 if (x.u != 7)
10 abort ();
11 if (x.s != - 1)
12 abort ();
14 if (x.i != -1 && x.i != 7)
15 abort ();
17 exit (0);