blob: df1e4d03eb0a9e89ed41f8ee3b49b1a3279cdae1 [file] [log] [blame]
short smask(short x)
{
return x & (short) 0x7fff;
}
short umask(unsigned short x)
{
return x & (unsigned short) 0x7fff;
}
/*
* check-name: and-trunc
* check-command: test-linearize -Wno-decl $file
*
* check-output-ignore
* check-output-excludes: sext\\.
* check-output-excludes: zext\\.
* check-output-excludes: trunc\\.
* check-output-contains: and\\.16
*/