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