Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / gcc.c-torture / unsorted / ext.c
blob9e8604ef2b2e553502a7bda9d7420124c4fdd6ae
1 /* The bit-field below would have a problem if __INT_MAX__ is too
2 small. */
3 #if __INT_MAX__ < 2147483647
4 int
5 main (void)
7 exit (0);
9 #else
10 struct foo
12 unsigned b31 : 1;
13 unsigned b30 : 1;
14 unsigned b29 : 1;
15 unsigned b28 : 1;
16 unsigned rest : 28;
18 foo(a)
19 struct foo a;
21 return a.b30;
23 #endif