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