xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/shift-zext.c (revision d0972c645cf979856ed66c1c6a1f082383c90b0c)
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