xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/and-or-lsr0.c (revision da9bf00574dd2845efcb9b791f4b44ecf1d1548c)
1 int foo(int a, int b)
2 {
3 	return ((a & 0x00000fff) | b) >> 12;
4 }
5 
6 /*
7  * check-name: and-or-lsr0
8  * check-command: test-linearize -Wno-decl $file
9  * check-known-to-fail
10  *
11  * check-output-ignore
12  * check-output-excludes: or\\.
13  */
14