xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/shift-zext.c (revision 8e458de0baeb1fee50643403223bc7e909a48464)
1 unsigned int foo(unsigned int x)
2 {
3 	return (x << 20) >> 20;
4 }
5 
6 /*
7  * check-name: shift-zext
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-contains: and\\..*%arg1, \\$0xfff
12  */
13