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 -m64 -fdump-ir $file
15  * check-assert: sizeof(void *) == 8
16  *
17  * check-output-ignore
18  * check-output-excludes: ptrtu\\.
19  */
20