seq(short x)1*c85f09ccSJohn Levonshort seq(short x) 2*c85f09ccSJohn Levon { 3*c85f09ccSJohn Levon return (int) x; 4*c85f09ccSJohn Levon } 5*c85f09ccSJohn Levon ueq(unsigned short x)6*c85f09ccSJohn Levonshort ueq(unsigned short x) 7*c85f09ccSJohn Levon { 8*c85f09ccSJohn Levon return (int) x; 9*c85f09ccSJohn Levon } 10*c85f09ccSJohn Levon 11*c85f09ccSJohn Levon /* 12*c85f09ccSJohn Levon * check-name: ext-trunc-same 13*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl $file 14*c85f09ccSJohn Levon * 15*c85f09ccSJohn Levon * check-output-ignore 16*c85f09ccSJohn Levon * check-output-excludes: trunc\\. 17*c85f09ccSJohn Levon * check-output-excludes: sext\\. 18*c85f09ccSJohn Levon * check-output-excludes: zext\\. 19*c85f09ccSJohn Levon */ 20