xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/mask-out.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 unsigned mask(unsigned a, unsigned b)
2 {
3 	return ((a & 0xffff0000) | b) & 0x0000ffff;
4 }
5 
6 /*
7  * check-name: mask-out
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-excludes: %arg1
12  */
13