1 #include <stdio.h>
2 
3 
4 int
main()5 main() {
6 	struct foo {
7 		unsigned x:30;
8 		unsigned y:2;
9 	} f;
10 
11 	f.x = 123;
12 	f.y = 0;
13 	printf("%u\n", ~f.x );
14 	printf("%u\n", ~f.y);
15 	f.y = 1;
16 	printf("%u\n", ~f.x );
17 	printf("%u\n", ~f.y);
18 }
19 
20