blob: 439eb82272479afd75a700470f5b148a82b98d90 [file] [log] [blame]
// (x & M) >> S to (x >> S) & (M >> S)
unsigned int foo(unsigned int x)
{
return (x & 0xffff) >> 12;
}
/*
* check-name: and-lsr
* check-command: test-linearize -Wno-decl $file
*
* check-output-ignore
* check-output-contains: and\\..*\\$15
* check-output-excludes: and\\..*\\$0xffff
*/