2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / struct-ini-2.c
blobc785257ccbaa92776bbd09e8af7fffe16e163885
1 struct {
2 int a:4;
3 int :4;
4 int b:4;
5 int c:4;
6 } x = { 2,3,4 };
8 main ()
10 if (x.a != 2)
11 abort ();
12 if (x.b != 3)
13 abort ();
14 if (x.c != 4)
15 abort ();
16 exit (0);