1 /* { dg-do run } */ 2 3 extern void abort (void); 4 5 int a = 2, b; 6 7 int main()8 main () 9 { 10 int c; 11 if (!b) 12 { 13 b = a; 14 c = a == 0 ? 1 : 1 % a; 15 if (c) 16 b = 0; 17 } 18 if (b != 0) 19 abort (); 20 return 0; 21 } 22