sext(int x)1*c85f09ccSJohn Levonint sext(int x) 2*c85f09ccSJohn Levon { 3*c85f09ccSJohn Levon return (x << 5) >> 5; 4*c85f09ccSJohn Levon } 5*c85f09ccSJohn Levon 6*c85f09ccSJohn Levon /* 7*c85f09ccSJohn Levon * check-name: sext 8*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl $file 9*c85f09ccSJohn Levon * check-known-to-fail 10*c85f09ccSJohn Levon * 11*c85f09ccSJohn Levon * check-output-ignore 12*c85f09ccSJohn Levon * check-output-contains: sext\\.$27 13*c85f09ccSJohn Levon * check-output-excludes: asr\\. 14*c85f09ccSJohn Levon * check-output-excludes: shl\\. 15*c85f09ccSJohn Levon */ 16