foo(int x,int y)1*c85f09ccSJohn Levon int foo(int x, int y)
2*c85f09ccSJohn Levon {
3*c85f09ccSJohn Levon 	return ((x & 0xffffff0f) | y) & 0xfff;
4*c85f09ccSJohn Levon }
5*c85f09ccSJohn Levon 
6*c85f09ccSJohn Levon /*
7*c85f09ccSJohn Levon  * check-name: and-or-mask2
8*c85f09ccSJohn Levon  * check-command: test-linearize -Wno-decl $file
9*c85f09ccSJohn Levon  *
10*c85f09ccSJohn Levon  * check-output-ignore
11*c85f09ccSJohn Levon  * check-output-contains: and\\..*\\$0xf0f
12*c85f09ccSJohn Levon  * check-output-excludes: and\\..*\\$0xffffff0f
13*c85f09ccSJohn Levon  */
14