foo(int x,int y,int a)1*c85f09ccSJohn Levonint foo(int x, int y, int a) 2*c85f09ccSJohn Levon { 3*c85f09ccSJohn Levon return ((x & y) | (a & 0xf000)) & 0x0fff; 4*c85f09ccSJohn Levon } 5*c85f09ccSJohn Levon 6*c85f09ccSJohn Levon /* 7*c85f09ccSJohn Levon * check-name: and-or-maskx 8*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl $file 9*c85f09ccSJohn Levon * 10*c85f09ccSJohn Levon * check-output-ignore 11*c85f09ccSJohn Levon * check-output-pattern(2): and\\. 12*c85f09ccSJohn Levon * check-output-excludes: or\\. 13*c85f09ccSJohn Levon */ 14