/* PR c/56989 *//* { dg-do compile } */externvoidvoidf(void);externintintf(void);intf(void){if(intf() <0||voidf() <0)/* { dg-error "10:void value not ignored as it ought to be" } */return1;if(voidf() <0/* { dg-error "7:void value not ignored as it ought to be" } */||intf() <0)return1;return0;}