1*c85f09ccSJohn Levon struct s { 2*c85f09ccSJohn Levon signed int :2; 3*c85f09ccSJohn Levon signed int f:3; 4*c85f09ccSJohn Levon }; 5*c85f09ccSJohn Levon bfs(struct s s,int a)6*c85f09ccSJohn Levonint bfs(struct s s, int a) 7*c85f09ccSJohn Levon { 8*c85f09ccSJohn Levon s.f = a; 9*c85f09ccSJohn Levon return s.f; 10*c85f09ccSJohn Levon } 11*c85f09ccSJohn Levon 12*c85f09ccSJohn Levon /* 13*c85f09ccSJohn Levon * check-name: and-or-bfs 14*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl $file 15*c85f09ccSJohn Levon * 16*c85f09ccSJohn Levon * check-output-ignore 17*c85f09ccSJohn Levon * check-output-pattern(1): trunc\\. 18*c85f09ccSJohn Levon * check-output-pattern(1): sext\\. 19*c85f09ccSJohn Levon * check-output-excludes: and\\. 20*c85f09ccSJohn Levon * check-output-excludes: or\\. 21*c85f09ccSJohn Levon * check-output-excludes: shl\\. 22*c85f09ccSJohn Levon * check-output-excludes: lsr\\. 23*c85f09ccSJohn Levon */ 24