1*c85f09ccSJohn Levon typedef unsigned short u16; 2*c85f09ccSJohn Levon typedef short s16; 3*c85f09ccSJohn Levon typedef unsigned int u32; 4*c85f09ccSJohn Levon typedef int s32; 5*c85f09ccSJohn Levon typedef unsigned long long u64; 6*c85f09ccSJohn Levon typedef long long s64; 7*c85f09ccSJohn Levon ufoo(int x)8*c85f09ccSJohn Levonu64 ufoo(int x) 9*c85f09ccSJohn Levon { 10*c85f09ccSJohn Levon return x & 0x7fff; 11*c85f09ccSJohn Levon } 12*c85f09ccSJohn Levon sfoo(int x)13*c85f09ccSJohn Levonu64 sfoo(int x) 14*c85f09ccSJohn Levon { 15*c85f09ccSJohn Levon return x & 0x7fff; 16*c85f09ccSJohn Levon } 17*c85f09ccSJohn Levon 18*c85f09ccSJohn Levon /* 19*c85f09ccSJohn Levon * check-name: and-extend 20*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl $file 21*c85f09ccSJohn Levon * 22*c85f09ccSJohn Levon * check-output-ignore 23*c85f09ccSJohn Levon * check-output-contains: and\\.64.*0x7fff 24*c85f09ccSJohn Levon */ 25