blob: c785257ccbaa92776bbd09e8af7fffe16e163885 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
struct {
int a:4;
int :4;
int b:4;
int c:4;
} x = { 2,3,4 };
main ()
{
if (x.a != 2)
abort ();
if (x.b != 3)
abort ();
if (x.c != 4)
abort ();
exit (0);
}
|