1 extern int ffun(void);
2 typedef void *vdp;
3 typedef int *sip;
4
fvdp_i(vdp a)5 static _Bool fvdp_i(vdp a) { return a; }
fvdp_e(vdp a)6 static _Bool fvdp_e(vdp a) { return (_Bool)a; }
fsip_i(sip a)7 static _Bool fsip_i(sip a) { return a; }
fsip_e(sip a)8 static _Bool fsip_e(sip a) { return (_Bool)a; }
ffun_i(void)9 static _Bool ffun_i(void) { return ffun; }
ffun_e(void)10 static _Bool ffun_e(void) { return (_Bool)ffun; }
11
12 /*
13 * check-name: bool-cast-pointer
14 * check-command: test-linearize -m32 -fdump-ir $file
15 *
16 * check-output-ignore
17 * check-output-excludes: ptrtu\\.
18 */
19