blob: 9d89443b10463783f03e65d95b16a92c1e7e7993 (
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 int u32;
typedef int s32;
typedef void *vdp;
typedef int *sip;
typedef double dbl;
typedef unsigned short __attribute__((bitwise)) le16;
static _Bool fs32(s32 a) { return a; }
static _Bool fu32(u32 a) { return a; }
static _Bool fvdp(vdp a) { return a; }
static _Bool fsip(sip a) { return a; }
static _Bool fdbl(dbl a) { return a; }
static _Bool ffun(void) { return ffun; }
static _Bool fres(le16 a) { return a; }
/*
* check-name: bool-cast-implicit
* check-command: test-linearize -m64 $file
* check-output-ignore
* check-output-excludes: cast\\.
*
* check-error-start
* check-error-end
*/
|