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