blob: a580bd0d681380a5ed7388ab526b479afb00083a (
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
25
|
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-known-to-fail
*
* check-output-ignore
* check-output-contains: and\\.64.*0x7fff
*/
|