1
2 struct s
3 {
4 unsigned a : 8;
5 unsigned b : 8;
6 unsigned c : 8;
7 unsigned d : 8;
8 };
9
10 /*
11 struct
12 {
13 unsigned a : 8;
14 unsigned b : 16;
15 unsigned c : 8;
16 };
17 */
18
19 struct s
foo(struct s s,int i)20 foo (struct s s, int i)
21 {
22 s.b = i;
23 return s;
24 }
25