1*c85f09ccSJohn Levon struct s {
2*c85f09ccSJohn Levon 	int  :2;
3*c85f09ccSJohn Levon 	int f:3;
4*c85f09ccSJohn Levon };
5*c85f09ccSJohn Levon 
foo(struct s * d,const struct s * s,int a)6*c85f09ccSJohn Levon void foo(struct s *d, const struct s *s, int a)
7*c85f09ccSJohn Levon {
8*c85f09ccSJohn Levon 	d->f = s->f | a;
9*c85f09ccSJohn Levon }
10*c85f09ccSJohn Levon 
11*c85f09ccSJohn Levon /*
12*c85f09ccSJohn Levon  * check-name: and-or-bf1
13*c85f09ccSJohn Levon  * check-command: test-linearize -Wno-decl $file
14*c85f09ccSJohn Levon  *
15*c85f09ccSJohn Levon  * check-output-ignore
16*c85f09ccSJohn Levon  * check-output-pattern(2): and\\.
17*c85f09ccSJohn Levon  * check-output-pattern(2): or\\.
18*c85f09ccSJohn Levon  */
19