1 unsigned mask(unsigned x)
   2 {
   3         return (x << 15) >> 15;
   4 }
   5 
   6 /*
   7  * check-name: lsr-shl0
   8  * check-command: test-linearize -Wno-decl $file
   9  *
  10  * check-output-ignore
  11  * check-output-contains: and\\..*0x1ffff
  12  * check-output-excludes: lsr\\.
  13  * check-output-excludes: shl\\.
  14  */