xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/and-or-shlx.c (revision 8222814ef8560ee0ba222eca8ca5acffc6cd0e44)
1 unsigned int foo(unsigned int x, unsigned int y, unsigned int a)
2 {
3 	return ((x & y) | (a & 0xfff00000)) << 12;
4 }
5 
6 /*
7  * check-name: and-or-shlx
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