xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/trunc-mask-zext.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 unsigned long long foo(unsigned long long x)
2 {
3 	return (((unsigned int) x) & 0x7ffU);
4 }
5 
6 /*
7  * check-name: trunc-mask-zext
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-excludes: trunc\\.
12  * check-output-excludes: zext\\.
13  */
14