1 /* { dg-do compile } */ 2 3 int nf(int gy,int x0)4 nf (int gy, int x0) 5 { 6 while (gy < 1) 7 ++x0; 8 9 gy += !!gy; 10 if (gy < 0) 11 { 12 x0 += gy; 13 return (x0 > (gy + x0)) ? (1 / 0) : 1; /* { dg-warning "division by zero" } */ 14 } 15 } 16 17