foo(int a,int b)1*c85f09ccSJohn Levon int foo(int a, int b)
2*c85f09ccSJohn Levon {
3*c85f09ccSJohn Levon 	return ((a & 7) | (b & 3)) & 8;
4*c85f09ccSJohn Levon }
5*c85f09ccSJohn Levon 
6*c85f09ccSJohn Levon /*
7*c85f09ccSJohn Levon  * check-name: and-or-mask
8*c85f09ccSJohn Levon  * check-command: test-linearize -Wno-decl $file
9*c85f09ccSJohn Levon  *
10*c85f09ccSJohn Levon  * check-output-start
11*c85f09ccSJohn Levon foo:
12*c85f09ccSJohn Levon .L0:
13*c85f09ccSJohn Levon 	<entry-point>
14*c85f09ccSJohn Levon 	ret.32      $0
15*c85f09ccSJohn Levon 
16*c85f09ccSJohn Levon 
17*c85f09ccSJohn Levon  * check-output-end
18*c85f09ccSJohn Levon  */
19