aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-extendx.c
blob: 5c181c93384ea09348bb54c8db46738993a1d26e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
typedef unsigned short u16;
typedef          short s16;
typedef unsigned   int u32;
typedef            int s32;
typedef unsigned  long long u64;
typedef           long long s64;

u64 ufoo(int x)
{
	return x & 0x7fff;
}

u64 sfoo(int x)
{
	return x & 0x7fff;
}

/*
 * check-name: and-extend
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: and\\.64.*0x7fff
 */