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