xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/and-or-truncx.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 char foo(int x, int y, int b)
2 {
3 	return (x & y) | (b & 0xff00);
4 }
5 
6 /*
7  * check-name: and-or-truncx
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-pattern(1): and\\.
12  * check-output-excludes: or\\.
13  */
14