1 #include <stdio.h>
2 
3 
4 int
main()5 main() {
6 	struct foo {
7 		int	bar:32;
8 	};
9 	struct foo2 {
10 		int	bar:1;
11 	};
12 	struct foo3 {
13 		char	x;
14 		int	bar:1;
15 	};
16 	struct foo4 {
17 		char			x;
18 		unsigned long long	bar:48;
19 	};
20 
21 	printf("%d\n", __alignof(struct foo));
22 	printf("%d\n", __alignof(struct foo2));
23 	printf("%d\n", __alignof(struct foo3));
24 	printf("%d\n", __alignof(struct foo4));
25 	return 0;
26 }
27