1 // (x & M) >> S to (x >> S) & (M >> S)
   2 
   3 unsigned int foo(unsigned int x)
   4 {
   5         return (x & 0xffff) >> 12;
   6 }
   7 
   8 /*
   9  * check-name: and-lsr
  10  * check-command: test-linearize -Wno-decl $file
  11  *
  12  * check-output-ignore
  13  * check-output-contains: and\\..*\\$15
  14  * check-output-excludes: and\\..*\\$0xffff
  15  */