1*c85f09ccSJohn Levon struct S {
2*c85f09ccSJohn Levon 	         int  :1;
3*c85f09ccSJohn Levon 	  signed int s:2;
4*c85f09ccSJohn Levon 	unsigned int u:3;
5*c85f09ccSJohn Levon };
6*c85f09ccSJohn Levon 
os(int i,struct S * b)7*c85f09ccSJohn Levon int os(int i, struct S *b) { return i || b->s; }
ou(int i,struct S * b)8*c85f09ccSJohn Levon int ou(int i, struct S *b) { return i || b->u; }
9*c85f09ccSJohn Levon 
10*c85f09ccSJohn Levon /*
11*c85f09ccSJohn Levon  * check-name: trunc-seteq0
12*c85f09ccSJohn Levon  * check-command: test-linearize -Wno-decl $file
13*c85f09ccSJohn Levon  *
14*c85f09ccSJohn Levon  * check-output-ignore
15*c85f09ccSJohn Levon  * check-output-excludes: trunc\\.
16*c85f09ccSJohn Levon  * check-output-excludes: sext\\.
17*c85f09ccSJohn Levon  * check-output-excludes: zext\\.
18*c85f09ccSJohn Levon  */
19