1extern int ffun(void); 2typedef void *vdp; 3typedef int *sip; 4 5static _Bool fvdp_i(vdp a) { return a; } 6static _Bool fvdp_e(vdp a) { return (_Bool)a; } 7static _Bool fsip_i(sip a) { return a; } 8static _Bool fsip_e(sip a) { return (_Bool)a; } 9static _Bool ffun_i(void) { return ffun; } 10static _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