2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20020910-1.c
blob092809b769c7b909e2cdd7120c708be4e2199595
1 /* The bit-field below would have a problem if __INT_MAX__ is too
2 small. */
3 #if __INT_MAX__ < 2147483647
4 int a;
5 #else
6 unsigned int x0 = 0;
8 typedef struct {
9 unsigned int field1 : 20;
10 unsigned int field2 : 12;
11 } XX;
13 static XX yy;
15 static void foo (void)
17 yy.field1 = (unsigned int ) (&x0);
19 #endif